Errors and Warnings in Latest Version
-
I’m unable to query the WP REST API when WP_DEBUG is active due to a series of warnings.
It seems that most of the warnings are coming from the Custom Tables class.
The warning is:
Notice: Trying to get property ‘meta’ of non-object in /app/public/wp-content/plugins/gamipress/libraries/ct/includes/class-ct-rest-meta-fields.php on line 59.Upon debug inspection I found that the table name is never being passed to the CT_REST_Meta_Fields class and will always result in that error.
I attempted to resolve by setting the table name to that inside of the CT_REST_Controller class in the __constructor, however that resulted in fatal errors in other parts of the gamification plugin.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Errors and Warnings in Latest Version’ is closed to new replies.