newbie LAC Posted October 9, 2017 Posted October 9, 2017 Hello, In api controllers you have /** * Class */ protected $class = 'IPS\forums\Forum'; but in some places you use $class = static::$class; Examples - applications/forums/api/forums.php method POSTitem - applications/calendar/api/calendars.php method POSTitem - applications/downloads/api/categories.php method POSTitem
bfarber Posted October 9, 2017 Posted October 9, 2017 I've made a note, but is this causing any issues that you can see?
newbie LAC Posted October 10, 2017 Author Posted October 10, 2017 11 hours ago, bfarber said: but is this causing any issues that you can see? Example for calendar Fatal error: Access to undeclared static property: IPS\calendar\api\calendars::$class in ...\applications\calendar\api\calendars.php on line 92
Recommended Posts
Archived
This topic is now archived and is closed to further replies.