• Resolved wrapupweb

    (@wrapupweb)


    Hi

    I have had to deactivate Yoast 15.9

    Thanks

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Yoast SEO.

    First, visit your website (https://moodhaircolor.com/) and check for any visible issues. Next, visit the page where the error was caught (https://moodhaircolor.com/wp-admin/nav-menus.php) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.6.2
    Current theme: Hello Elementor (version 2.3.1)
    Current plugin: Yoast SEO (version 15.9)
    PHP version 7.3.27

    Error Details
    =============
    An error of type E_ERROR was caused in line 344 of the file /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php. Error message: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder::is_invalid_ancestor() must be an instance of Yoast\WP\SEO\Models\Indexable, bool given, called in /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 180 and defined in /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:344
    Stack trace:
    #0 /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(180): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->is_invalid_ancestor(false, 31, Array)
    #1 /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(112): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->add_ancestors_for_post(31, 1096, Array)
    #2 /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins/wordpress-seo

    • This topic was modified 3 years, 9 months ago by wrapupweb.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support devnihil

    (@devnihil)

    We’re sorry to hear you are experiencing this error. To resolve this, can you please try the following?:

      1. Install & activate the?Yoast Test Helper plugin
      2. Go to Tools -> Yoast Test
      3. Hit the “Reset Indexables & Migrations” button
      4. Under SEO → Tools, click the “Start SEO Data Optimization” button.
    Thread Starter wrapupweb

    (@wrapupweb)

    Hi

    After running SEO Data Optimization I get an error message

    Oops, something has gone wrong and we couldn’t complete the optimization of your SEO data. Please click the button again to re-start the process.

    Thx

    Plugin Support Suwash

    (@suascat_wp)

    @wrapupweb

    Sorry for the trouble. We want to investigate the issue further. Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to?deactivate all non-Yoast plugins and switch to a standard theme?like?Twenty Nineteen.?

    Test this on your development or staging site, if you have one. If not, we recommend using the?Health Check & Troubleshooting?plugin. This plugin allows you to run a conflict check?without affecting normal visitors to your site.

    As we can imagine that 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.`

    Thread Starter wrapupweb

    (@wrapupweb)

    Hi

    If I Troubleshoot Yoast using the health app then press Appearance/Menus/Save Menu button I get the error below

    Recoverable fatal error: Object of class WP_Error could not be converted to string in /home/customer/www/moodhaircolor.com/public_html/wp-includes/formatting.php on line 1015
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Cheers

    Plugin Support Suwash

    (@suascat_wp)

    @wrapupweb Did you get that new error when you disabled all non-Yoast plugins and activated the standard TwentyTwenty theme? The error looks like it appeared from the WordPress core file.

    If possible, please try to run the SEO Data Optimization on the Troubleshooting mode with all non-Yoast plugin deactivate and just the standard theme.

    Let us know the results again.

    Thread Starter wrapupweb

    (@wrapupweb)

    Hi

    I ran SEO data Optimization in Troubleshooting mode successfully but got same error below

    Recoverable fatal error: Object of class WP_Error could not be converted to string in /home/customer/www/moodhaircolor.com/public_html/wp-includes/formatting.php on line 1015
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    when pressing Appearance/Menus/Save Menu button

    This is with all Plugins disabled except Yoast and using Twenty Twenty

    Cheers

    Plugin Support Suwash

    (@suascat_wp)

    @wrapupweb

    We tested the SEO Data Optimization on our test environment with the default setup and is working fine.

    If you go to Tools > Site Health, do you see any critical errors flagged like REST API, cURL, etc.

    Does your setup meet our plugin requirements?

    If you see any sort of errors or warnings, can you please write us what they are? If possible, can you take a screenshot that highlights this issue? This would help us investigate the issue further.

    We look forward to your response.

    Thread Starter wrapupweb

    (@wrapupweb)

    Hi

    There are no errors and the requirements are all satisfied. My hosting provider is siteground and Yoast works perfectly well on all my other WordPress websites on Siteground.

    Very strange

    Thread Starter wrapupweb

    (@wrapupweb)

    Site Info FYI

    
    ### wp-core ###
    
    version: 5.6.2
    site_language: en_GB
    user_language: en_GB
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 55
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/customer/www/moodhaircolor.com/public_html
    wordpress_size: 547.29 MB (573876232 bytes)
    uploads_path: /home/customer/www/moodhaircolor.com/public_html/wp-content/uploads
    uploads_size: 666.46 MB (698830777 bytes)
    themes_path: /home/customer/www/moodhaircolor.com/public_html/wp-content/themes
    themes_size: 3.90 MB (4092958 bytes)
    plugins_path: /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins
    plugins_size: 106.62 MB (111804128 bytes)
    database_size: 11.28 MB (11829248 bytes)
    total_size: 1.30 GB (1400433343 bytes)
    
    ### wp-active-theme ###
    
    name: Hello Elementor (hello-elementor)
    version: 2.3.1
    author: Elementor Team
    author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
    theme_path: /home/customer/www/moodhaircolor.com/public_html/wp-content/themes/hello-elementor
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty: version: 1.6, author: the WordPress team
    
    ### wp-mu-plugins (1) ###
    
    Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2
    
    ### wp-plugins-active (24) ###
    
    Add From Server: version: 3.4.5, author: Dion Hulse
    Advanced Access Manager: version: 6.7.4, author: Vasyl Martyniuk <[email protected]>
    Automatic Copyright Year: version: 1.1, author: WPSOS
    Disable Comments: version: 2.1.0, author: WPDeveloper
    Elementor: version: 3.1.1, author: Elementor.com
    Elementor Pro: version: 3.1.0, author: Elementor.com
    FileBird Lite: version: 4.5, author: Ninja Team
    Health Check & Troubleshooting: version: 1.4.5, author: The www.remarpro.com community
    Ivory Search: version: 4.5.11, author: Ivory Search
    Loco Translate: version: 2.5.0, author: Tim Whitlock
    Manage Privacy Options: version: 1.1, author: Julio Potier
    Order Minimum/Maximum Amount for WooCommerce: version: 4.0.0, author: WPFactory
    Perfect Brands for WooCommerce: version: 1.8.6, author: QuadLayers
    Product Slider and Carousel with Category for WooCommerce: version: 2.4, author: WP OnlineSupport
    Redirection: version: 5.0.1, author: John Godley
    SG Optimizer: version: 5.7.14, author: SiteGround
    Smash Balloon Instagram Feed: version: 2.8.1, author: Smash Balloon
    Sticky Header Effects for Elementor: version: 1.4.3, author: Rwattner
    Variation Swatches for WooCommerce: version: 1.1.10, author: Emran Ahmed
    WooCommerce: version: 5.0.0, author: Automattic
    WooCommerce Opayo (formally SagePay) Form and Direct Gateway: version: 4.7.15, author: Andrew Benbow
    WooCommerce Product Table: version: 2.8.1, author: Barn2 Plugins
    WooCommerce Wholesale Pro: version: 1.4.5, author: Barn2 Plugins
    Yoast Test Helper: version: 1.12, author: Team Yoast
    
    ### wp-plugins-inactive (7) ###
    
    AnWP Post Grid and Post Carousel Slider for Elementor: version: 0.7.1, author: Andrei Strekozov <anwppro>
    Card Elements for Elementor: version: 1.1.3, author: Techeshta
    Google Ads & Marketing by Kliken: version: 1.0.7, author: Kliken
    Mailchimp for WooCommerce: version: 2.5.0, author: Mailchimp
    Product Carousel Slider for Elementor: version: 1.0.1, author: Plugin Devs
    WPC Show Single Variations for WooCommerce: version: 1.2.0, author: WPClever.net
    Yoast SEO: version: 15.9, author: Team Yoast
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    gd_version: 2.2.5
    ghostscript_version: 9.27
    
    ### wp-server ###
    
    server_architecture: Linux 3.12.18-clouder0 x86_64
    httpd_software: Apache
    php_version: 7.3.27 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 3000
    time_limit: 120
    memory_limit: 768M
    max_input_time: 120
    upload_max_size: 256M
    php_post_max_size: 256M
    curl_version: 7.66.0 OpenSSL/1.1.1g-fips
    suhosin: false
    imagick_availability: false
    server-headers: 
    	server: nginx
    	date: Thu, 25 Feb 2021 11:33:21 GMT
    	content-type: text/html; charset=UTF-8
    	vary: Accept-Encoding
    	expires: Wed, 11 Jan 1984 05:00:00 GMT
    	cache-control: no-cache, must-revalidate, max-age=0
    	x-cache-enabled: True
    	link: <https://moodhaircolor.com/wp-json/>; rel="https://api.w.org/", <https://moodhaircolor.com/wp-json/wp/v2/pages/585>; rel="alternate"; type="application/json", <https://moodhaircolor.com/>; rel=shortlink
    	set-cookie: wpSGCacheBypass=1; expires=Thu, 25-Feb-2021 13:13:20 GMT; Max-Age=6000; path=/; HttpOnly; SameSite=Lax
    	x-httpd: 1
    	host-header: 6b7412fb82ca5edfd0917e3957f05d89
    	x-proxy-cache: BYPASS
    	x-proxy-cache-info: 0 NC:100000 UP:SKIP_CACHE_NO_CACHE
    	content-encoding: br
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.32-35-log
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/customer/www/moodhaircolor.com/public_html/wp-content
    WP_PLUGIN_DIR: /home/customer/www/moodhaircolor.com/public_html/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 768M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    
    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We are sorry to hear that you’re still having trouble with our plugin. Due to the nature of the issue, we’ll need to take a look at your setup. However, we are unable to do it here as this is a public forum.

    So, if you have an active Yoast SEO Premium subscription or if you can consider buying one, we can investigate the issue further directly on your setup privately through email.

    However, if you don’t wish to get the Yoast SEO Premium subscription, that’s completely fine. In this case, you’ll need to troubleshoot the issue further on your setup as we are literally out of any clue at this moment without taking a look at the setup. So, someone from the community might step forward as well who has experienced the issue or familiar with the parent/child breadcrumbs relationship.

    Thanks for your understanding!

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Critical Error Indexable_Hierarchy_Builder::is_invalid_ancestor’ is closed to new replies.