• Hey! I’m a developer for Yoast SEO.
    We recently got a number of reports (123) about a fatal error in conjunction with your plugin.
    After a short investigation, it seems that the root cause is this line:

    add_filter( 'views_edit-post', '__return_null' );

    Looking at the docs, the WP filter requires a non-nullable string array. Unfortunately, we assume that it’s an array here:

    public function add_filter_link( array $views ) {

    This of course causes a fatal error:

    Error message: Uncaught TypeError: WPSEO_Abstract_Post_Filter::add_filter_link(): Argument #1 ($views) must be of type array, null given

    Do you think you can look into it?
    Thanks in advance!

    • This topic was modified 6 months, 2 weeks ago by Enrico Battocchi. Reason: typo in the subject
    • This topic was modified 6 months, 2 weeks ago by Enrico Battocchi. Reason: typos
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andy Keith

    (@andykeith)

    Hi @lopo, thanks for your bug report. We have implemented a fix for this issue which will be available in the next update. This should be available soon (I will update here when released)

    Plugin Author Andy Keith

    (@andykeith)

    Hi, this issue should be resolved in the latest update (2.1.1). Thanks for your patience. Let me know if you get anything further.

    Thread Starter Enrico Battocchi

    (@lopo)

    Thanks @andykeith! We’ll let our users know if they contact us!

    @andykeith – I have this same issue, that I have been working on with one of your Senior Support Engineers Edge. I can see that the plugin has been updated to 2.1.1 as advised but I have the Pro Version and when I download from my Barn2 account it is still version 2.0.0. WHen will this be updated for pro?

    Plugin Author Amir Arabnezhad

    (@amirition)

    Hi @stratalignnz,

    We will release new version of WooCommerce Product Tabs Pro soon. Meanwhile, our support engineers will send you a temporary fix by email.

    Thanks.

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, @stratalignnz.

    Thanks for your patience. We have released WooCommerce Product Tabs Pro 2.0.1, which officially includes the fix.

    Please could you update the plugin to this version on your site, and confirm whether it addresses your concern.

    After updating the plugin, I also recommend that you clear/delete/empty all/any caching that might be active;
    – On your site (i.e. via a caching plugin),
    – Its server (i.e. via a server-based caching service such as Cloudflare),
    – And your browser (you can also review the issue via an incognito/private browser window that’s not cached – or use a different browser as an alternative; i.e. if you usually use Chrome to browse your site, then use Edge or Opera).

    Many thanks!
    Edge

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘v2.1.0+: fatal error with Yoast’ is closed to new replies.