• Resolved caum

    (@caum)


    Hello,
    for a couple of weeks, I have the following message on some pages in Elementor / Templates menu:
    Warning: Attempt to read property “object_id” on bool in /homepages/36/d832874816/htdocs/artinprovence/wp-content/plugins/wordpress-seo/src/integrations/admin/admin-columns-cache-integration.php on line 112
    It’s displayed 4 times in Templates/Saved Templates page, 1 time in Templates /Popups page and 17 times in Templates/Theme Builder page.
    I don’t know exactly when it appeared or after which upgrade (Elementor or Yoast SEO) and it has no effect on the site (back or frontend).
    Any solution ti fix this?
    Best regards,

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

    (@maybellyne)

    Hello @caum

    I am sorry to learn about the error you are experiencing.

    Can you please confirm the versions of Yoast SEO, WordPress and Elementor that you are running?

    Also are you using Elementor’s new Container feature?

    Thread Starter caum

    (@caum)

    Hello,

    Wordpress is version 6.0.2, Yoast is version 19.7.1 and Elementor free and Pro are version 3.7.7.
    The Elementor Flexbox container feature is inactive.
    Best regards.

    Plugin Support Maybellyne

    (@maybellyne)

    @caum Thanks for your response.

    Are you running PHP 8.x? If not, please try these suggestions:

    1. Please go to SEO > Integrations(tab) and temporarily toggle ON and OFF the options there and save the settings. Do you still see the error?
    2. Temporarily deactivate the Yoast SEO plugins and reactivate them both. Does this resolve the issue?
    3. Clear all your cache from your theme, plugin, server, CDN like Cloudflare or browser.

    If the issue remains, please perform a conflict check because 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 caum

    (@caum)

    Hello Maybelline,

    The site is running PHP 8.0.24.

    And we have already done all the tests with plugins and themes to check conflicts.
    Even with a standard theme (Twenty Twenty-two) and only Yoast SEO plus Elementor (and not Elementor Pro), the issue remains.

    Hey @caum,

    If you update Yoast SEO to the version we released today, 19.8, can you still reproduce the warnings? We ask since this version fixed an issue with Elementor:

    Fixes a bug where Yoast SEO would conflict with Elementor throwing console errors.

    Thread Starter caum

    (@caum)

    Hey Jeroen,
    I just updated the plugin, but nothing change. Same warning message at the same places.

    Plugin Support devnihil

    (@devnihil)

    @caum Thanks for your response and for confirming the PHP version.

    Regarding the issue, we have seen some unexpected errors like this caused in cases where the previously optimized data is invalid or incomplete. To try to resolve this, we’d recommend to start with a reset of the optimization to ensure the removal of any invalid data. However, let’s cover a few important things to be aware of beforehand.

    First, we would understand if you were hesitant to reset the optimized data. We can assure you that your hard work will not be lost as the default WordPress tables also contain the SEO data. This process will only reset the custom Yoast tables with the combined data pulled from those default tables.

    Second, we recommend creating regular backups of your site and database for your site’s health and safety. Backups are especially important before making substantial changes to your website. It provides you with a safety net if something were to go wrong. Learn more about the benefits of regular backups.

    Thirdly, we highly recommend using a staging or testing site to reduce the impact on your live site. Some popular web hosts offer quick setups for a staging site, so please contact your web host for assistance. They will probably be able to help you out. If your web host does not offer staging sites, the WordPress plugin repository offers staging plugins, or you can create your own staging site.

    As to how to reset the optimization data, our How to reset the Yoast indexables guide will walk you through the process step by step. We’ve also summarized the steps below.

      1. Install & activate the Yoast Test Helper plugin
      2. Go to Tools > Yoast Test
      3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that the specific reset was successful.
      4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Please let us know if the reported issue remains after resetting the optimized data.

    Thread Starter caum

    (@caum)

    @devnihil,

    I did all the process of reset with Yoast Test Helper.
    Then I did Data optimization and I get an error message saying the optimization couldn’t be completed. See screenshot: https://www.artinprovence.com/wp-content/uploads/2022/10/error-screenshot.jpg
    I copied all the response to send it to you if you want.
    I immediately test the site and I notice an error that affect all my product. I used different Elementor templates for different categories of products. After the optimization, all the products were displayed with a unique template! Luckily, it was easy to fix…

    Concerning the issue subject of this ticket, the error message in Elementor Templates pages has disappeared.
    Your diagnostic about data optimization seemed to be the good one but it he caused problems.

    Plugin Support devnihil

    (@devnihil)

    @caum Thanks for your reply.

    We understand that you are getting an error when running the SEO data optimization within the SEO Workout: error parsing the response to json. 

    First, I want to assure you that not performing the optimization process will not affect your site negatively in search results. Additionally, the optimization process will run silently in the background as content on your site is created, modified, or removed. As the optimization process makes our plugin work more efficiently, let’s look into what might be causing this on your site.

    The error above is generic, and we cannot say which was the cause of this. From time to time, we see that other site components could prevent SEO data optimization from running smoothly.

    Therefore as a first step, we ask you to try the following:

      1. Install and activate the Yoast Test Helper plugin if you don’t have it.
      2. Same for the Health Check plugin: https://wordpress.org/plugins/health-check/. The plugin will permit you to perform a conflict check by deactivating plugins and switching themes. Doing so will not affect the SEO of your site, and your visitors will still be able to view your site as usual.
      3. Verify you have the default theme Twenty-Twenty. If not, please install it.
      4. Go to your WordPress admin dashboard > Tools (on the left sidebar) > Yoast Test.
      5. Click on the ‘Reset indexables tables & migrations,’ ‘Reset Prominent words calculation, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that each reset was successful.
      6. Activate the Troubleshooting Mode (TM) in the Health Check plugin.
      7. In TM, activate only the Yoast SEO plugins (both free and premium) and the default theme Twenty-Twenty.
      8. Rerun the SEO data optimization.
      9. Deactivate the Troubleshooting Mode in the Health Check plugin.

    In this way, was the SEO data optimization completed? 

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Warning message in the all Elementor Templates pages’ is closed to new replies.