SCHEMA and PHP 8.2 causing errors
-
Using SCHEMA with PHP 8.2 broke my wordpress webpage. Every time I tried to edit a page or post in the WordPress editor and save the draft, the page became unresponsive. My CPanel reflected a significant increase in CPU load and RAM usage, which essentially made my webpage inaccessible.
Here is the first error form the debug console which is a deprecation error from Schema:
[06-May-2024 12:41:31 UTC] PHP Deprecated: Creation of dynamic property SCHEMA_JSON_LD_Breadcrumbs::$post is deprecated in /home/jcoe1gqo1o6q/public_html/wp-content/plugins/schema/includes/extensions/breadcrumbs.php on line 67
Schema produced lots of those errors while being in the editor and trying to save my draft.
WordPress seems to work fine with just PHP 8.1.
If you encounter this issue, I advice downgrading to PHP 8.1.
Maybe time to update the plug-in guys? Its more than 6 months!
- You must be logged in to reply to this topic.