• Resolved sparkzillah

    (@sparkzillah)


    Yoast breaking my site. Here’s what I get from debug. Please fix.

    Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Integrations\Third_Party\Zapier_Free::add_publishbox_text() must be an instance of WP_Post, string given, called in /www/newslinesorggc_426/public/wp-includes/class-wp-hook.php on line 307 and defined in /www/newslinesorggc_426/public/wp-content/plugins/wordpress-seo/src/integrations/third-party/zapier-free.php:43 Stack trace: #0 /www/newslinesorggc_426/public/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Integrations\Third_Party\Zapier_Free->add_publishbox_text('') #1 /www/newslinesorggc_426/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #2 /www/newslinesorggc_426/public/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /www/newslinesorggc_426/public/wp-content/plugins/wordpress-seo/admin/class-admin-init.php(355): do_action('wpseo_publishbo...', '') #4 /www/newslinesorggc_426/public/wp-includes/class-wp-hook.php(307): WPSEO_Admin_Init->add_publish_box_section('') #5 /www/newslinesorggc_426/public/wp-includes/class in /www/newslinesorggc_426/public/wp-content/plugins/wordpress-seo/src/integrations/third-party/zapier-free.php on line 43

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @sparkzillah

    I’m sorry to hear your website is experiencing a technical issue after updating to Yoast SEO v19.9, and I know how concerning it is when that happens. Let’s investigate this issue further and get to the bottom. We tried to replicate that error in our testing environment but to no avail.

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you feel uncomfortable doing this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Thread Starter sparkzillah

    (@sparkzillah)

    The problem happens with Yoast is on and disappears when Yoast is off.

    mihaitutu

    (@mihaitutu)

    Quick solve until they figure out the poor coding they have done:
    1. Open the file wp-content/plugins/wordpress-seo/src/integrations/third-party/zapier-free.php
    2. Go at line 43 and change public function add_publishbox_text( WP_POST $post ) to add_publishbox_text( $post )

    This will not give any errors.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Sorry to hear that you’re having trouble in Yoast SEO. Can anyone please confirm how can I reproduce the issue? I tried reproducing it on a fresh WordPress installation with the latest version of Yoast SEO, Classic Editor, and the default theme installed but didn’t see the relevant error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error in new version’ is closed to new replies.