Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Shop / WooCommerce
  3. Your Site is Experiencing a Technical Issue (after automatic update)

Your Site is Experiencing a Technical Issue (after automatic update)

Scheduled Pinned Locked Moved Shop / WooCommerce
6 Posts 3 Posters 300 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexandrot
    wrote on last edited by alexandrot
    #1

    Hi,

    i updated all the plugins and the theme to the latest version but i received the following email

    Howdy!

    WordPress has 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, WooCommerce.

    First, visit your website (https://www.cripta747.it/) and check for
    any visible issues. Next, visit the page where the error was caught
    (https://www.cripta747.it/wp-admin/update.php?action=update-selected&plugins=jetpack%2Fjetpack.php%2Claytheme-carousel%2Flaytheme-carousel.php%2Creally-simple-ssl%2Frlrsssl-really-simple-ssl.php%2Cside-cart-woocommerce%2Fxoo-wsc-main.php%2Csimply-schedule-appointments%2Fsimply-schedule-appointments.php%2Cwoocommerce%2Fwoocommerce.php%2Cwoocommerce-payments%2Fwoocommerce-payments.php%2Cwp-mail-smtp%2Fwp_mail_smtp.php&_wpnonce=ce5b53230c)
    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.

    https://www.cripta747.it/wp-login.php?action=enter_recovery_mode&rm_token=hRBCPveht765STofHFLJSb&rm_key=A2VbQbTbWJgmhFl2OG65b6

    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 6.7.2
    Active theme: Lay Theme (version 8.1.6)
    Current plugin: WooCommerce (version 9.7.1)
    PHP version 8.0.30

    Error Details

    An error of type E_ERROR was caused in line 1078 of the file
    /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php.
    Error message: Uncaught Error: Class
    "Automattic\WooCommerce\Enums\ProductType" not found in
    /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php:1078
    Stack trace:
    #0 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Products.php(42):
    WC_REST_Products_Controller->get_item_schema()
    #1 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388):
    Automattic\WooCommerce\Admin\API\Products->get_item_schema()
    #2 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(569):
    WP_REST_Controller->get_context_param()
    #3 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php(2314):
    WC_REST_CRUD_Controller->get_collection_params()
    #4 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php(1681):
    WC_REST_Products_V2_Controller->get_collection_params()
    #5 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Products.php(74):
    WC_REST_Products_Controller->get_collection_params()
    #6 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php(72):
    Automattic\WooCommerce\Admin\API\Products->get_collection_params()
    #7 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php(62):
    WC_REST_Products_V2_Controller->register_routes()
    #8 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Init.php(169):
    WC_REST_Products_Controller->register_routes()
    #9 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
    Automattic\WooCommerce\Admin\API\Init->rest_api_init(Object(WP_REST_Server))
    #10 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(348):
    WP_Hook->apply_filters(NULL, Array)
    #11 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(517):
    WP_Hook->do_action(Array)
    #12 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(618):
    do_action('rest_api_init', Object(WP_REST_Server))
    #13 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(576):
    rest_get_server()
    #14 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(2957):
    rest_do_request(Object(WP_REST_Request))
    #15 [internal function]: rest_preload_api_request(Array, '/wc-analytics/r...')
    #16 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(144):
    array_reduce(Array, 'rest_preload_ap...')
    #17 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
    Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings(Array)
    #18 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(205):
    WP_Hook->apply_filters(Array, Array)
    #19 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(66):
    apply_filters('woocommerce_adm...', Array)
    #20 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(272):
    Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin{closure}()
    #21 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(388):
    Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data()
    #22 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
    Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data('')
    #23 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(348):
    WP_Hook->apply_filters('', Array)
    #24 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(517):
    WP_Hook->do_action(Array)
    #25 /customers/6/1/0/cripta747.it/httpd.www/wp-admin/includes/template.php(2229):
    do_action('admin_print_foo...')
    #26 /customers/6/1/0/cripta747.it/httpd.www/wp-admin/update.php(53):
    iframe_footer()
    #27 {main}
    thrown

    I just noticed that on some page (at the top part of the mobile version of this page https://www.cripta747.it/cripta747/) appear the following error
    errorrrrrr.JPG

    Here the text
    Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 698 Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 699 Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 711

    Please, any help with this?

    Thank you in advance!
    Alexadnro

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey i dont see the error on your page anymore:
      https://www.cripta747.it/cripta747/

      do you still have an issue with this?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thisis_annette
        wrote on last edited by
        #3

        Hi Armin

        I am also having this problem. I noticed the site was broken the other day, I believe wordpress may have updated automatically so I tried downgrading to an earlier version but this didn't fix it. I have tried disabling plugins/css but it doesn't help. Here's the info:

        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 your theme, Lay Theme.

        First, visit your website (https://dossierindustries.co/) and check for any visible issues. Next, visit the page where the error was caught (https://dossierindustries.co/wp-admin/edit.php?post_type=page) 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.

        https://dossierindustries.co/wp-login.php?action=enter_recovery_mode&rm_token=a6yOGpzitqpiX97b7bOrqb&rm_key=5BkhtKwCbj3rKTCgERhFEy

        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 6.8.1
        Active theme: Lay Theme (version 9.0.9)
        Current plugin: (version )
        PHP version 8.1.32

        Error Details

        An error of type E_ERROR was caused in line 297 of the file /home/userdossier/public_html/wp-content/themes/lay/setup/setup.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /home/userdossier/public_html/wp-content/themes/lay/setup/setup.php:297
        Stack trace:
        #0 /home/userdossier/public_html/wp-includes/class-wp-hook.php(324): Setup->add_to_page_and_post_title_in_admin_overview()
        #1 /home/userdossier/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
        #2 /home/userdossier/public_html/wp-admin/includes/template.php(2350): apply_filters()
        #3 /home/userdossier/public_html/wp-admin/includes/template.php(2251): get_post_states()
        #4 /home/userdossier/public_html/wp-admin/includes/class-wp-posts-list-table.php(1156): _post_states()
        #5 /home/userdossier/public_html/wp-admin/includes/class-wp-posts-list-table.php(1077): WP_Posts_List_Table->column_title()
        #6 /home/userdossier/public_html/wp-admin/includes/class-wp-list-table.php(1793): WP_Posts_List_Table->_column_title()
        #7 /home/userdossier/public_html/wp-admin/includes/class-wp-posts-list-table.php(1444): WP_List_Table->single_row_columns()
        #8 /home/userdossier/public_html/wp-admin/includes/class-wp-posts-list-table.php(941): WP_Posts_List_Table->single_row()
        #9 /home/userdossier/public_html/wp-admin/includes/class-wp-posts-list-table.php(813): WP_Posts_List_Table->_display_rows_hierarchical()
        #10 /home/userdossier/public_html/wp-admin/includes/class-wp-list-table.php(1712): WP_Posts_List_Table->display_rows()
        #11 /home/userdossier/public_html/wp-admin/includes/class-wp-list-table.php(1639): WP_List_Table->display_rows_or_placeholder()
        #12 /home/userdossier/public_html/wp-admin/edit.php(503): WP_List_Table->display()
        #13 {main}
        thrown

        Hope you can help, many thanks for your great work with this theme!

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thisis_annette
          wrote on last edited by
          #4

          It says that 'the theme is broken'. I have tried reinstalling Laytheme with a fresh copy but this did not help either
          Screenshot 2025-06-22 at 7.20.59 AM.png
          Screenshot 2025-06-22 at 7.21.07 AM.png

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thisis_annette
            wrote on last edited by
            #5

            Hey Armin I have fixed this. I deleted the page with the project list mentioned in the error details :)

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              oh! i can see from the error report that i need to insert a check if a certain variable is an array. i did so now. with the next update this error shouldnt happen anymore, sorry about this!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              I also code custom websites or custom Lay features.
              💿 Email me here: 💿
              info@laytheme.com

              Before you post:
              1. When using a WordPress Cache plugin, disable it or clear your cache.
              2. Update Lay Theme and all Lay Theme Addons
              3. Disable all Plugins
              4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

              This often solves issues you might run into

              When you post:
              1. Post a link to where the problem is
              2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
              3. If the problem is difficult to explain, post screenshots / link to a video to explain it
              Online Users
              A
              alasdair17
              K
              Kai Schecker
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
              laytheme.com
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search