• Resolved banec

    (@banec)


    After updating to 21.8.1 I’m getting a fatal error on my blog posts page. Updating to 21.9 did not solve the issue. After deactivating the plugin the error is gone, so it’s caused by it for sure. Here is the full error:

    Fatal error: Uncaught TypeError: Argument 1 passed to WPSEO_Abstract_Post_Filter::add_filter_link() must be of the type array, null given, called in /home/customer/www/levoit.bg/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /home/customer/www/levoit.bg/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php:103 Stack trace: #0 /home/customer/www/levoit.bg/public_html/wp-includes/class-wp-hook.php(324): WPSEO_Abstract_Post_Filter->add_filter_link(NULL) #1 /home/customer/www/levoit.bg/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/levoit.bg/public_html/wp-admin/includes/class-wp-list-table.php(515): apply_filters(‘views_edit-post’, Array) #3 /home/customer/www/levoit.bg/public_html/wp-admin/edit.php(486): WP_List_Table->views() #4 {main} thrown in /home/customer/www/levoit.bg/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php on line 103

Viewing 15 replies - 1 through 15 (of 17 total)
  • I am receiving the same error. I had to remove the plugin manually via ftp. 🙁

    Thread Starter banec

    (@banec)

    For me just deactivating it works, however, I prefer to keep using it..

    I have the same situacion. When active seo plugin, then can’t use edit blog posts. What is the possible solution to the situation?

    Same situation on my blog

    I have a similar problem with Woocommerce products

    Plugin Support Jose Varghese

    (@josevarghese)

    Hi everyone,

    Thanks for using the Yoast SEO plugin and for reporting this to us. Can you please let us know whether you are using the ‘WooCommerce Product Tabs by Barn2 Plugins’ on your website?

    If yes, the fatal error you have noticed would be due to the specific plugin, and our development team has already opened an issue on their plugin forum with more details on why the issue occurs and how to fix it at their end; you can read more here.

    In case if you are not using the above mentioned plugin, please let us know.

    Hi,

    When upgrading to 21.9 we also noticed issues, might be related to this but it does seem to return a different error code. Deactivating the plugin via FTP was our fix as well. We should clarify that we do not use WooCommerce.

    Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /var/www/www.xxxxx.xxx/wp-admin/includes/class-wp-filesystem-ftpext.php:438

    • This reply was modified 6 months, 2 weeks ago by imds.

    We also had this problem and rolling back to the previous version of Yoast solved the issue. We also don’t use anything at all relating to WooCommerce.

    We do, however, use the WP Recipe Maker plugin and, since Yoast updated, they have also updated their plugin with the changelog saying:

    “Fix: Error caused by Yoast SEO suddenly removing constant”

    Hopefully that might help troubleshoot?

    Plugin Support Jose Varghese

    (@josevarghese)

    Hi @imds

    Thanks for replying to this. We are sorry you’re having the same issue. Kindly please open a new request and share more details about the PHP version you are using and also more details on whether you have performed the conflict check already with the Yoast SEO plugin as activated first or not.

    That way, it’s easier to track issues and provide assistance. Thanks!

    We can imagine that deactivating plugins or switching themes on your production site isn’t the best way to go as you notice a fatal error. Do you have or would you be willing to set up a staging environment to run additional tests without interfering with your live site?

    No staging environment is available for testing
    A staging environment is a copy of your site on your server that allows you to implement and test changes without affecting your live site. Some popular web hosts offer quick setups for a staging site. Please contact your web host to see if this option is available for your site. You can create a staging site using a WordPress plugin if your web host does not offer staging environments.

    Are you not aware of how to perform a conflict check?
    Don’t worry. 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-Two.

    Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin.

    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. When you activate the troubleshooting mode, kindly make sure that the Yoast SEO plugin is activated first, then check whether the issue occurs or not.

    We hope you will open a new ticket, so it will be helpful for us to narrow down the issue.

    Plugin Author Enrico Battocchi

    (@lopo)

    Thanks for the heads up @turkeysforlife! But that should not be related (it looks like they used a constant that we deprecated more than one year ago).

    Thanks for the quick response, Jose, but I’m afraid not, I’m not using the ‘WooCommerce Product Tabs by Barn2 Plugins’

    Plugin Support Maybellyne

    (@maybellyne)

    @jolmedo: We are sorry you’re having the same issue. Please open a new request. That way, it’s easier to track issues and provide assistance. Thanks!

    @lopo Just a follow up that our host (BigScoots) also now has a warning message in the dashboard:

    “Do not upgrade Yoast to 21.9 if you also run WP Recipe Maker. Doing so may cause your posts to fail to load their content. If you’ve already upgraded, please reach out to support for assistance with a downgrade.”

    Thread Starter banec

    (@banec)

    I’m running WP Recipe Maker as well… and my posts are not working. How can I downgrade Yoast?

    https://cosori.bg/pork-katsu/

    @banec We use WP Rollback – always a good plugin to have in reserve.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Fatal error: Uncaught TypeError’ is closed to new replies.