Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › Plugin produces errors in /metaboxes/default-content.php in line 111 to 114
- This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by
microTOOL.
-
AuthorPosts
-
March 27, 2018 at 1:28 pm #17314
microTOOL
ParticipantHi,
this time, I have another problem. Maybe it has something to do with the PHP-Version, because I switched to 7.1 today.
Now, when I edit a page or post on our website and click on “Save” after that, the website shows the following errors:
[code]Warning: Illegal string offset ‘customcontent’ in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 111Warning: Cannot assign an empty string to a string offset in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 111
Warning: Illegal string offset ‘hide’ in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 111
Warning: Illegal string offset ‘override’ in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 111
Warning: Illegal string offset ‘override_source’ in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 111
Warning: A non-numeric value encountered in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 114
Fatal error: Uncaught Error: Unsupported operand types in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php:114 Stack trace: #0 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/class-wp-hook.php(288): RPPDefaultContent->save(61348) #1 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/post.php(3581): do_action(‘save_post’, 61348, Object(WP_Post), false) #4 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/revision.php(300): wp_insert_post(Array) #5 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/revision.php(186): _wp_put_post_revision(Array) #6 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/class-wp-hook.php(288): wp_save_post_revision(58151) #7 /homepages/2/d585514017/htdocs/mt-live/web/wp-includes/class-wp-h in /homepages/2/d585514017/htdocs/mt-live/web/wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php on line 114
[/code]The plugin is deactivated at the moment. And this only happens in the backend.
Do you have any ideas here?
Best,
Patrick-
This topic was modified 8 years, 2 months ago by
microTOOL.
March 27, 2018 at 2:43 pm #17318Ernest Marcinko
KeymasterHi Patrick,
I have two possible variation that may solve the issues. You will have to replace the wp-content/plugins/related-posts-pro/backend/metaboxes/default-content.php file content.
1. Try this first.
2. If does not work, then this one.Hopefully one of these should do the trick.
March 27, 2018 at 3:53 pm #17321microTOOL
ParticipantHi Ernest,
thanks for the quick help. I will try that tomorrow, early in the morning (German time), since I am already off work for today.
I’ll let you know about the solutions.
best regards,
Patrick-
This reply was modified 8 years, 2 months ago by
microTOOL.
March 28, 2018 at 7:21 am #17333microTOOL
ParticipantHi again, Ernest,
I uploaded your first solution to our website today and it seems that the error is gone. We will have to try it some more but I guess that your changes fixed the error.
Thanks a lot,
Patrick -
This topic was modified 8 years, 2 months ago by
-
AuthorPosts
- The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.