Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook 2 hours ago
newbie LAC Posted October 9, 2017 Share 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 Link to comment Share on other sites More sharing options...
bfarber Posted October 9, 2017 Share Posted October 9, 2017 I've made a note, but is this causing any issues that you can see? Link to comment Share on other sites More sharing options...
newbie LAC Posted October 10, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
bfarber Posted October 10, 2017 Share Posted October 10, 2017 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.