• Resolved Hecro

    (@hecro)


    I updated Jetpack a couple of days ago to a beta version and after that I get the following error on sort of random pages:

    Warning: preg_match() expects parameter 2 to be string, object given in /var/www/BLOCKED-OUT/public_html/wp-includes/post-template.php on line 199

    Catchable fatal error: Object of class WP_Post could not be converted to string in /var/www/BLOCKED-OUT/public_html/wp-includes/post-template.php on line 217

    That pages doesn’t even display – just those few lines of error codes.

    I have tried to reinstall jetpack and as soon as I “hook” it up to wordpress (when I press the connect to wordpress button) it bugs out again.

    How can I solve this issue as I am really depended on your plugin?

    http://wordpress.org/plugins/jetpack/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter Hecro

    (@hecro)

    Aslong as I have the Jetpack plugin deactivated there is no errors on the homepage.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    The issue seems to be related to the “Read More” link that can be added to posts.

    Do you use any plugins that may affect the default behaviour of the Read More link, or does your theme include functions that may change the way Read More is displayed?
    One way to check all of this is to deactivate all other plugins, one at a time, and switch to one of the default themes for a few minutes.

    Could you also make sure that you only use one instance of Read More in your post?

    Let me know if you find a conflicting plugin!

    Thread Starter Hecro

    (@hecro)

    My page only bugs when I activate the Jetpack plugin.

    Everything has worked perfectly up until the update I got the other day – I think it was a beta version of the 2.6 jetpack build. I just used the automated update process.

    I have also tried to revert it by deleting Jetpack 100% and then install it again. The issue only begins whenever I connect Jetpack to wordpress.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you try to switch to one of the default themes for a few minutes, and let me know if it helps?

    Thread Starter Hecro

    (@hecro)

    Same results :/

    I have tried to reinstall my theme also – no luck…

    By the way, thanks for answering so quickly.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you try to add the following to your theme’s functions.php file, and let me know if it helps?

    add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );

    If that solves the issue, that would help me narrow down the problem to a specific Jetpack feature.

    Thanks!

    Thread Starter Hecro

    (@hecro)

    Tried to add the line, but still the same result.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you rollback to Jetpack 2.5 (you can download it here), and let me know your site URL so I can have a closer look at your site?

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    Thread Starter Hecro

    (@hecro)

    THANK you!
    2.5 works perfectly again for me!!!

    One of the pages that bugged for me was this one:
    http://www.strikert.dk/produkter/

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Alright, thanks for the info. We’ll work on trying to reproduce the issue and getting this fixed, and I’ll post again here when I have some news.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you try to update to 2.6.1, and let me know if it helps?

    I appreciate this post. I am getting an error similar to what Herco listed in the initial post. I updated to the latest Jetpack and still got the error. I’ll roll back Jetpack to v2.5 and let you know what happens.

    Thread Starter Hecro

    (@hecro)

    I updated to wordpress 3.8 and Jetpack 2.7. Same error as before.
    I rolled back to 2.5 no problems.

    @ajdesignco: If you require assistance then, as per the Forum Welcome, please post your own topic.

    @esmi – Thanks. Will do.

    @hecro – “Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread. Start your own topic.”

    I’ll move it to a new topic.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Broken page after Jetpack update’ is closed to new replies.