Viewing 15 replies - 1 through 15 (of 19 total)
  • devnihil

    (@devnihil)

    We’re sorry to hear you are experiencing this issue on your site.

    We reviewed the issue and it looks like it may be related to the theme. Can you please confirm whether the issue still occurs with only Yoast SEO, WPML, and a default theme such as TwentyTwentyOne active?

    Thread Starter ohyeahz

    (@ohyeahz)

    Yes I confirm it doesn’t work even with TwentyTwentyOne.
    All I could to to remove the php errors is to disable the plugin “WP Debbuging” but then it shows a blank page…

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    Do you also have all of the necessary downloaded plugins as per WPML documentation here to ensure that Yoast SEO is working well with WPML?

    Just to clarify, after reading the WPML forum thread, even if you have a default WP theme such as TwentyTwentyOne and only Yoast SEO v16.1.1 as the only plugin enabled (WPML disabled), you are still encountering those PHP errors?

    Thread Starter ohyeahz

    (@ohyeahz)

    Hi,

    Yes (Yoast SEO, Yoast Multilingual, WPML Multinlingual, WPML String Translation, WPML Translation Management, WPML All Import, WPML CMS Nav, WPML Media)

    If WPML is disabled the site doesn’t show up since it’s multilingual

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    Would it be possible for you to manually reinstall the latest version of Yoast SEO for WordPress v16.1.1 via FTP to see if this helps? You can follow the steps here — https://yoast.com/help/how-can-i-update-my-free-plugin/#ftp

    Please also do clear your browser’s cache and cookies. After manually reinstalling the Yoast SEO plugin via FTP, please try resetting our indexables in the database tables by following 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’. The page will reload to confirm that each reset was successful. Note: this won’t actually erase your SEO data, which is also stored in WordPress’ default tables. It’ll just reset our index (custom tables) for that data.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before installing, updating, or removing plugins. Learn more about the benefits of regular backups.

    After trying the above, are the PHP errors still populating for those products?

    Thread Starter ohyeahz

    (@ohyeahz)

    Hey

    1. I deleted Yoast via ftp
    2. Reinstalled it via FTP but it didn’t show in admin
    3. Added Yoast via normal “add plugin” procedure and activated it
    4. Cleared cache and cookies
    5. Installed Yoast Test Helper
    6. Clicked Reset Indexables tables & migrations
    7. Got this :https://www.dropbox.com/s/yxci2hdlvg1nb2v/Yoast_Test_Error.png?dl=0
    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Thanks for sharing that screenshot. For Yoast SEO to work, it needs to be able to create tables in your database but it seems it is unable to do so in this case. Yoast SEO will show you an error message when we are unable to create tables automatically.

    We recommend you please create the relevant table manually by following the steps given here. Error: Yoast SEO cannot create database tables

    Thread Starter ohyeahz

    (@ohyeahz)

    Ok, but before doing so, why is it that NOW Yoast can’t create table, but was able to do so before ?

    Also if I do that won’t I mess with the site ?

    Thanks

    Plugin Support Maybellyne

    (@maybellyne)

    This could happen if you recently updated your Yoast SEO plugin. We recommend creating a backup of your site and reach out to your web hosting provider for assistance. They will be more knowledgeable on creating the database tables.

    Thread Starter ohyeahz

    (@ohyeahz)

    Firstly :

    1. I redid disable/delte Yoast + Reinstall + empty cache + Yaost helper : WORKING
    2. SEO data optimization : disabled for non-production environments ! NOT WORKING
    3. Found this solution : NOT WORKING

    Secondly :

    I have duplicated the entire site to another server and did the exact same steps, till the end. Everything worked… BUT the php errors aren’t gone. They’re just not the same ones from before (even with TwentyTwentyOne)

    See
    https://mq.arnostudio.be/en/products/single-hung-doors/ (duplicate server)
    vs
    https://metalquartz.com/en/products/single-hung-doors/ (real server)

    Thanks

    • This reply was modified 5 years ago by ohyeahz.
    Plugin Support Maybellyne

    (@maybellyne)

    Can you confirm what version of WordPress you have on the main site, https://metalquartz.com/?

    Looking at one of your screenshots shared in WPML forum, you have this error:

    Warning: Trying to access array offset on value of type bool in /wp-content/plugins/wordpress-seo/src/helpers/schema/image-helper.php on line 98 
    Warning: Trying to access array offset on value of type bool in /wp-content/plugins/wordpress-seo/src/helpers/schema/image-helper.php on line 100 
    Warning: Trying to access array offset on value of type bool in /wp-content/plugins/wordpress-seo/src/helpers/schema/image-helper.php on line 101

    We currently have a bug report open with our development team with this warning. We’ve found out that this error notice comes from the Social Logo image configured under SEO → Seach Appearance. Can you let us know if you remove the image from it temporarily and check if the notice is gone on the front-end? If so, can you please let us know if you configure a new logo image file under that setting, and check again, if the notice reappears?

    Apart from the issue, just a note: you are seeing this notice on your live site because WP_DEBUG is enabled on your site, we recommend not having this on “true” for production sites as this can show technical details of your site/server setup. This setting is configured in the wp-config.php file of your WordPress installation where you set it to “false”.

    Thread Starter ohyeahz

    (@ohyeahz)

    5.7.1 for both sites

    Thread Starter ohyeahz

    (@ohyeahz)

    I have removed the Social Logo and disabled WP_DEBUG in both sites.

    metalquartz.com > Blank page no php error (looking at source it seems the page didn’t finish loading the code)
    mq.arnostudio.be > php errors still there

    Thanks

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Thanks for following up.

    You mentioned one of the solutions that worked earlier was that you deactivated and uninstalled the Yoast SEO plugin, emptied cache, reinstalled the plugin and reset the Indexables table and migrations with the Yaost Test Helper plugin. Can you please retry this again but not run the SEO data optimization tool yet?

    Thread Starter ohyeahz

    (@ohyeahz)

    Hello again (sorry for the delay)

    What I did on Metalquartz.com

    1. Deleted Yoast and Yoast Multilingual
    2. Cleared cache
    3. Reinstalled the plugins
    4. Installed Yoast Test Helper
    5. Clicked Reset Indexables tables & migrations
    6. Deleted social Logo
    7. Did NOT click SEO data optimization tool

    The page with php errors (https://metalquartz.com/en/products/single-hung-doors/)
    is just blank but in source code the page seems top have stopped loading before the <body> tag

    Thanks again

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘php errors due to Yoast (?)’ is closed to new replies.