1.9.17 generates fatal error under PHP 7.4
-
thrown in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_collection.php on line 62 [06-Dec-2019 07:10:46 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_collection.php:62
I fixed it by removing the static keyword from the declaration of functions saswp_add_collection_menu_links() and saswp_set_collection_edit_link() in modules/reviews/reviews_collection.php lines 55 and 66.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘1.9.17 generates fatal error under PHP 7.4’ is closed to new replies.