• Resolved kirascurro

    (@kirascurro)


    Hi, I posted a problem with my site about a month ago. At that time my Theme support and Host support were helping me with it and you closed the topic. You said to open a new one if I was still having problems. They helped me with some of the problems but now I’m besieged with errors. They checked the Theme and the WP installation and couldn’t find anything wrong.

    I’m designing a WP site with Elementor and WooCommerce on a Chrome browser and WIN 10 machine. The Elementor problems seemed to have stopped, but I’m getting errors with Woo that sometimes are fatal and kick me out of the site and that also mention Elementor. The last time this happened I was just duplicating a product in Woo to make a new one. I sometimes get an error even when going into my Media Files, or they won’t load at all. The errors seem to indicate I have a database problem.

    I was able to complete most of the design and add most of my products before these errors got really bad. I’d hate to have to do the design over if I have to reinstall. Re-adding the products wouldn’t be as much of a problem, but a redesign would mean weeks of work to re-do. If I reinstall either Elementor or Woo will I lose my work?

    I have switched to a default theme and deactivated each plugin, but I can’t determine which plugin is causing the errors because they come intermittently. I have pages of errors I could show you, but I wasn’t sure if I should put them here or you had a way I could upload them.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there,

    The errors will be helpful yes, as well as steps for how to recreate them. If you have pages of errors, and they are repeating, copy-paste an excerpt of each.

    When you did the conflict test, did you deactivate 1 plugin at a time? The proper way to conflict test would be to deactivate all the plugins, except for WooCommerce, and swap out your theme to a standard theme – all at the same time. Then from there reactivate the theme, and the other plugins, one by one, testing after each small step. Our How to conflict test doc details that process.

    It would also be helpful to see your System Status Report. Be sure to redact sensitive information before pasting it here though. To find it, go to WooCommerce » Status, select “Get system report” and then “Copy for support”.  Then paste it here in your response.

    Thread Starter kirascurro

    (@kirascurro)

    Ok, thank you very much. Here, first, is the System Report.

    ### WordPress Environment ###

    WordPress address (URL): http://desserts.04482a3.netsolhost.com
    Site address (URL): http://desserts.04482a3.netsolhost.com
    WC Version: 5.1.0
    REST API Version: ✔ 5.1.0
    WC Blocks Version: ✔ 4.4.3
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.0.2
    Log Directory Writable: ✔
    WP Version: 5.7
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 mod_fcgid/2.3.9 PHP/7.2.34
    PHP Version: 7.2.34
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.29.0
    NSS/3.53.1

    SUHOSIN Installed: –
    MySQL Version: 5.7.27
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 5.1.0
    WC Database Prefix: wp_
    Total Database Size: 11.74MB
    Database Data Size: 9.72MB
    Database Index Size: 2.02MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 5.02MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 1.39MB + Index: 0.14MB + Engine InnoDB
    wp_posts: Data: 1.50MB + Index: 0.06MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    ### Post Type Counts ###

    attachment: 127
    customize_changeset: 1
    elementor_library: 13
    nav_menu_item: 7
    page: 21
    post: 3
    product: 15
    product_variation: 13
    revision: 199
    testimonials: 3
    wpcf7_contact_form: 3

    ### Security ###

    Secure connection (HTTPS): ❌
    Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.

    ### Active Plugins (10) ###

    Bridge Core: by Qode – 2.6.8
    Classic Editor: by WordPress Contributors – 1.6
    Contact Form 7: by Takayuki Miyoshi – 5.4
    Elementor: by Elementor.com – 3.1.4
    Envato Market: by Envato – 2.0.6
    One Click Demo Import: by ProteusThemes – 2.6.1
    Slider Revolution: by ThemePunch – 6.4.2
    UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.49

    WooCommerce: by Automattic – 5.1.0
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.3

    ### Inactive Plugins (4) ###

    Akismet Anti-Spam: by Automattic – 4.1.9
    Google XML Sitemaps: by Auctollo – 4.1.1
    LayerSlider WP: by Kreatura Media – 6.11.5
    Web.com – Cache Manager: by Web.com – 0.1.0

    ### Must Use Plugins (2) ###

    Elementor Safe Mode: by Elementor.com – 1.0.0
    Web.com – Plugin/Theme Auto Updater: by Web.com – 1.0.0

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #18 – /shop/
    Cart: #19 – /cart/
    Checkout: #628 – /checkout/
    My account: #21 – /my-account/
    Terms and conditions: ❌ Page not set

    ### Theme ###

    Name: Bridge
    Version: 25.4
    Author URL: http://qodethemes.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔

    ### Templates ###

    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.

    Overrides: bridge/woocommerce/cart/cart-empty.php
    bridge/woocommerce/cart/cart-shipping.php
    bridge/woocommerce/cart/cart-totals.php
    bridge/woocommerce/cart/cart.php
    bridge/woocommerce/cart/shipping-calculator.php
    bridge/woocommerce/checkout/form-coupon.php
    bridge/woocommerce/checkout/thankyou.php
    bridge/woocommerce/content-product.php
    bridge/woocommerce/content-single-product.php
    bridge/woocommerce/global/form-login.php
    bridge/woocommerce/global/quantity-input.php
    bridge/woocommerce/loop/add-to-cart.php
    bridge/woocommerce/loop/loop-start.php
    bridge/woocommerce/loop/pagination.php
    bridge/woocommerce/loop/rating.php
    bridge/woocommerce/loop/result-count.php
    bridge/woocommerce/loop/sale-flash.php
    bridge/woocommerce/myaccount/form-login.php
    bridge/woocommerce/myaccount/form-lost-password.php
    bridge/woocommerce/myaccount/my-address.php
    bridge/woocommerce/myaccount/my-orders.php
    bridge/woocommerce/single-product/add-to-cart/external.php
    bridge/woocommerce/single-product/add-to-cart/grouped.php
    bridge/woocommerce/single-product/add-to-cart/simple.php
    bridge/woocommerce/single-product/add-to-cart/variable.php
    bridge/woocommerce/single-product/related.php
    bridge/woocommerce/single-product/sale-flash.php
    bridge/woocommerce/single-product/tabs/additional-information.php
    bridge/woocommerce/single-product/tabs/description.php
    bridge/woocommerce/single-product/tabs/tabs.php
    bridge/woocommerce/single-product/up-sells.php

    ### Action Scheduler ###

    Complete: 44
    Oldest: 2021-02-18 16:30:22 +0000
    Newest: 2021-03-11 03:55:22 +0000

    ### Status report information ###

    Generated at: 2021-03-16 07:46:27 +00:00

    This is the error I received when I attempted to duplicate a product to make a new product. I’ve included 4 paragraphs, but there are actually 12 that repeat with only the last line number changing. And then at the bottom there’s a large paragraph that I’ve included.

    Notice
    : Trying to get property 'post_type' of non-object in
    /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php
    on line
    7138
    Notice
    : Trying to get property 'post_type' of non-object in
    /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php
    on line
    7139
    Notice
    : Trying to get property 'ID' of non-object in
    /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php
    on line
    7143
    Notice
    : Trying to get property 'post_type' of non-object in
    /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php
    on line
    7385
    Fatal error
    : Uncaught TypeError: Argument 2 passed toElementor\TemplateLibrary\Source_Local::on_save_post() must be an instance of WP_Post, nullgiven, called in/data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php on line 289 and defined in/data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-content/plugins/elementor/includes/template-library/sources/local.php:1090 Stack trace: #0/data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php(289): Elementor\TemplateLibrary\Source_Local->on_save_post(636,NULL) #1 /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2/data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3/data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php(4309): do_action('save_post', 636, NULL, false in
    /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-content/plugins/elementor/includes/template-library/sources/local.php
    on line
    1090
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    This is the error I received when attempting to open my Media files:

    [Expression #1 of ORDER BY clause is not in SELECT list, references column ‘ftpxchyjk_94950.wp_posts.post_date’ which is not in SELECT list; this is incompatible with DISTINCT]
    SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month FROM wp_posts WHERE post_type = ‘attachment’ ORDER BY post_date DESC

    This is the error I received from WP in an email when an error occurred and the site kicked me out. The email was informing on how I could get back into the site.

    Error Details
    =============
    An error of type E_ERROR was caused in line 1090 of the file /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-content/plugins/elementor/includes/template-library/sources/local.php. Error message: Uncaught TypeError: Argument 2 passed to Elementor\TemplateLibrary\Source_Local::on_save_post() must be an instance of WP_Post, null given, called in /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php on line 294 and defined in /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-content/plugins/elementor/includes/template-library/sources/local.php:1090
    Stack trace:
    #0 /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php(294): Elementor\TemplateLibrary\Source_Local->on_save_post(648, NULL)
    #1 /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #2 /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /data/user5/2020/28/16949/wordpress/.0a3c4b3af0151f6d47097474b7756ade/wp-includes/post.php(4384): do_action('save_post', 648, NULL, false

    When I did the conflict test I did deactivate all of my plugins and theme at the same time, but when I would reactivate each plugin I could not duplicate the errors. I also should mention that one time when I tried to add a new product the whole product page opened with errors at the top and on the left side. I didn’t take a picture. It was a bit overwhelming. But when I trashed the page and tried to add a product again, it worked fine.

    Thread Starter kirascurro

    (@kirascurro)

    hi, do you think i might get a reply on this, please. thanx.

    Plugin Support EastOfWest a11n

    (@eastofwest)

    Thanks for the extra details. Your System Status Report seems to indicate you’re in good shape generally.

    A few things, that should be tended to; your PHP version is the minimum supported (7.2) so might need updating in the future, and you should get SSL sorted for your site to serve it over HTTPS instead of HTTP.

    Your theme overrides a great many of the WooCommerce templates, which could become an area of potential conflicts, especially if you’re theme doesn’t update inline with WooCommerce.

    However, the Fatal Errors and Error Details you posted seem to lay the blame at the feet of Elementor. Reach out to Elementor’s support to get that sorted. One you resolved the Elelmentor issues, if the errors persist, post details of the new errors for a closer look.

    Thread Starter kirascurro

    (@kirascurro)

    ok, thank you. i’ll do that.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,

    This thread has been inactive for a while, so I’m marking it as resolved. Hopefully, you were able to reach the Elementor team as advised above.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘WooCommerce errors’ is closed to new replies.