• Resolved ascotech

    (@ascotech)


    Hey!

    Just updated the Plugin Yoast SEO to the latest version 11.5 which caused my site to break.

    Finally, found out that when I do deactivate Polylang 2.6 then the site works again. Or I keep Polylang activated and deactivate Yoast SEO, then it works as well.

    Are you going also to further update the free version of Polylang? Cause otherwise I probably can’t use any longer Yoast SEO.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • The same with me too.

    Plugin Support Chrystl

    (@chrystl)

    Hello,
    @ascotech, could you please explain which breaks in your site? Could you give me the steps to reproduce your issue? A video or some screenshot should be helpful.

    Thread Starter ascotech

    (@ascotech)

    Hi @chrystl

    Here you can have a look at the video:

    Yesterday everything was working fine till I updated Yoast SEO. If I activate it, it breaks the site. EXCEPT if I do also DEACTIVATE Polylang.

    Plugin Support Chrystl

    (@chrystl)

    Thank you for the video. I didn’t your reproduce your issue on my side with Yoast SEO 11.5 + Polylang 2.6 + Twenty Nineteen. There is maybe another 3rd party involved or it is maybe due to a set of options.
    To find out more, we need to see if there is an error message. Could you edit your wp-config.php and replace:

    define(‘WP_DEBUG’, false);

    by

    define(‘WP_DEBUG’, true);
    define(‘SCRIPT_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

    Then reproduce the error. This should create a file debug.log in your wp-content directory. The error message is included in this file. Could you let me know which is this error message?

    hi ! I have a silmilar issue with wordpress-seo plugins

    If I have both pluigin activated it didn’t work
    wordpress-seo : 11.5
    polylang : 2.6

    error on apache server side :
    [Thu Jun 27 15:59:12.061448 2019] [:error] [pid 30206] [client X.X.X.X:60224] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/www.hdigitag.fr/wp-includes/query.php:28\nStack trace:\n#0 /var/www/www.hdigitag.fr/wp-content/plugins/polylang/modules/plugins/wpseo.php(215): get_query_var('sitemap')\n#1 /var/www/www.hdigitag.fr/wp-includes/class-wp-hook.php(286): PLL_WPSEO->before_sitemap(Object(WP_Query))\n#2 /var/www/www.hdigitag.fr/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)\n#3 /var/www/www.mysite.fr/wp-includes/plugin.php(531): WP_Hook->do_action(Array)\n#4 /var/www/www.mysite.fr/wp-includes/class-wp-query.php(1753): do_action_ref_array('pre_get_posts', Array)\n#5 /var/www/www.mysite.fr/wp-includes/class-wp-query.php(3404): WP_Query->get_posts()\n#6 /var/www/www.mysite.fr/wp-includes/post.php(1961): WP_Query->query(Array)\n#7 /var/www/www.mysite.fr/wp-content/plugins/social-warfare/lib/utilities/SWP_Database_Migration.php(388): get_posts(Array)\n#8 /var/www/www.mysite.fr/wp-content/plugins/social-warfare/lib/utilities/SWP_Database_Migratio in /var/www/www.mysite.fr/wp-includes/query.php on line

    Thread Starter ascotech

    (@ascotech)

    @chrystl I did as you have described it, but it seems it didnt create a file.

    https://ibb.co/g4nqKL0

    Plugin Support Chrystl

    (@chrystl)

    @gallak , does your issue is causing the same behavior mentioned by @ascotech just here: https://www.loom.com/share/5636505e9a5c40339bb76e9b73b8c5ff ?

    Does the issue happens between Yoast and Polylang when the social warfare plugin is deactivated?

    @ascotech , does the issue is still there if you revert to Yoast SEO 11.4?

    Plugin Support Chrystl

    (@chrystl)

    @ascotech , I see that you have also the social warfare plugin as @gallak . Could you please deactivate it and let me know if it solves your issue?

    @chrystl : indeed my issue is similar to @ascotech one
    in order to make my wordpress functionnal again, I only do the following action :
    disable wordpress-seo module , social-warfare is always activated

    so at this time my wp is fonctionnal with :
    wordpress-seo : disabled
    social-warfare : enabled
    polylang : enabled

    I think that problem is located to “before_sitemap” function ( which appears on 2.6 version)
    sitemap variable is always set ? Maybe add a try/catch on get_query_var function on line 215 of wpseo.php file ?

    Plugin Support Chrystl

    (@chrystl)

    @gallak @ascotech @macnux
    I reproduced the issue on my side. This fatal error is triggered by the combinaison of Polylang + Yoast SEO + Social Warfare. I just opened a github issue, see: https://github.com/polylang/polylang/issues/379

    Plugin Author Chouby

    (@chouby)

    Hello,

    Could you test with the development version available on GitHub? https://github.com/polylang/polylang/archive/master.zip

    Thread Starter ascotech

    (@ascotech)

    @chouby @chrystl

    I have now installed the polylang-master.zip installed.
    I have Polylang + Yoast SEO + Social Warfare activated and everything runs.
    But it seems the site is loading slowe, but this can of course have other reasons.

    Thanks for your fantastic support.

    Plugin Author Chouby

    (@chouby)

    @ascotech Thanks. We will include this in the next release coming soon.

    Thread Starter ascotech

    (@ascotech)

    @chouby what I just realized is, that Yoast SEO gave now the warning in the dashboard,
    that the site prevents google from indexing. So I checked if google can see my website on its mobile check and it works. So I assume this is a false alert from Yoast SEO.

    https://search.google.com/test/mobile-friendly

    Plugin Author Chouby

    (@chouby)

    I suggest that you check that you did not activate the option “Discourage search engines from indexing this site” in Settings > Reading. Otherwise, check with the support of Yoast SEO.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Latest Yoast SEO not working with Polylang’ is closed to new replies.