Plugin causes critical error when translating posts
-
Thanks for building the great plugin.
I just tried to the plugin on my website, It works for pages, but not for posts. When I try to translate posts by clicking on the + icon, I get a critical error on the website. The message is something like this.
Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition "Wpil_Model_Link" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /var/www/wordpress/wp-includes/formatting.php:5058 Stack trace: #0 /var/www/wordpress/wp-includes/formatting.php(5053): map_deep() #1 /var/www/wordpress/wp-includes/formatting.php(2833): map_deep() #2 /var/www/wordpress/wp-includes/formatting.php(5711): stripslashes_deep() #3 /var/www/wordpress/wp-includes/meta.php(53): wp_unslash() #4 /var/www/wordpress/wp-content/plugins/polylang/modules/sync/sync-metas.php(379): add_metadata() #5 /var/www/wordpress/wp-content/plugins/polylang/modules/sync/admin-sync.php(107): PLL_Sync_Metas->copy() #6 /var/www/wordpress/wp-includes/class-wp-hook.php(310): PLL_Admin_Sync->new_post_translation() #7 /var/www/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #8 /var/www/wordpress/wp-includes/post.php(8108): apply_filters() #9 /var/www/wordpress/wp-admin/post-new.php(71): use_block_editor_for_post() #10 {main} thrown in /var/www/wordpress/wp-includes/formatting.php on line 5058 There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about troubleshooting WordPress.
Please help me.
Thanks!
Sincerely
Abhishek
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin causes critical error when translating posts’ is closed to new replies.