Critical Error in plugin setting page
-
The plugins has been used before and i deactivated them after use. Today i enable the plguins again and ‘critical error’ appear in plugin page.
– Plugins enabled : https://i.imgur.com/WG9cyQE.png
– Critical error : https://i.imgur.com/pxlKskX.png
– WordPress email : https://i.imgur.com/rvGSECX.png
-
Even in troubleshooting mode, no other active plugins/themes, except woocommerce and your plugin, still the plugin report critical error.
Hi,
Can you please share error log?
I found the following lines in debug.log. I tested by accessing plugin setting page twice on 15:22UTC and 15:25UTC to replicate the error.
[10-May-2021 15:21:57 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 113 [10-May-2021 15:21:57 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 114 [10-May-2021 15:21:57 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 115 [10-May-2021 15:22:10 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-query.php on line 4196 [10-May-2021 15:22:10 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-query.php on line 4196 [10-May-2021 15:25:03 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 113 [10-May-2021 15:25:03 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 114 [10-May-2021 15:25:03 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 115 [10-May-2021 15:25:19 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 113 [10-May-2021 15:25:19 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 114 [10-May-2021 15:25:19 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/themes/electro/inc/structure/layout.php on line 115 [10-May-2021 15:25:33 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-query.php on line 4196 [10-May-2021 15:25:33 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-query.php on line 4196
You can also download the file ‘debug.log’ here : https://drive.google.com/file/d/1pf7Bm0Ij7Wvpvq2xyvs7Wcd5C5_BYNY2/view?usp=sharing
Here is email from WordPress:
When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.7.1 Current theme: Electro Child (version 2.2.8.1) Current plugin: Sync WooCommerce with Google Sheets (version 2.5) PHP version 7.4.19 Error Details ============= An error of type E_ERROR was caused in line 50 of the file /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/sync-wc-google/inc/gs-api.php. Error message: Uncaught Error: Class 'Google_Client' not found in /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/sync-wc-google/inc/gs-api.php:50 Stack trace: #0 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/sync-wc-google/inc/gs-api.php(24): WCGS_APIConnect->getClient() #1 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/sync-wc-google/inc/admin.php(32): WCGS_APIConnect->__construct() #2 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-hook.php(292): wcgs_settings_tab() #3 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #4 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #5 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(41): do_action() #6 /home/zoomcamera/domains/zoomcamera.net/public_html/wp-content/plugins/woocommerce/includes/admi
Hi
Please make sure that you have set Google credentials into plug-in settings.
I cannot even go to the plugin setting page. Did you check images in the topic ?
It used to work well before, i then disabled the plugin (enable only when manually sync). This problem just happen when i enabled it again.Hi @naratt,
this issue has been resolved in the new version 2.6
I just updated both (plugin2.6 and pro2.4), the setting screen seems to be ok but still cannot sync. please check image and video
https://drive.google.com/uc?id=1GZ4dCT3gVNIi87UIc0Bu4KoqRhQbi2EBHi @naratt,
please wait for 2-3 days, we are coming with all new Google Sync version 3.0 with totally new, amazing, and fast approach to sync WooCommerce products and categories with Google Sheet.
Still, i cannot find new version. Please keep me update.
Hi @naratt,
Yes, it is ready. We are making videos and guide for users to use it easily.
Hi, any update ? I already purchased but not be able to use it. Can you release the new version first ?
Hi,
it will be live today/tomorrow.
I just installed and tested the new Pro (plugin v2.6, pro v2.5)
Initially I can sync categories, products, variations to my sheet but then, there are problems syncing…1). Category Sync
1.1 Doesn’t work when syncing too many categories (I have 184). I tried 1-3 categories, Ok. >> https://drive.google.com/uc?id=13GmzDrzDdTnJKo-aBblBEnNETQAHg8sO
1.2 Cannot sync back from Woo->sheet >> https://drive.google.com/uc?id=1uSmwXRudserlhTPE-4rDQoKRjoBpfTY3
2). Product Sync
I tried just 3 rows and it didn’t work. See video >> https://drive.google.com/uc?id=1mdOYqZX8PzIcgE8hyZsNbx0i1OVufpSgMoreover, Same old problem arise now. Critical error when saving post.
- The topic ‘Critical Error in plugin setting page’ is closed to new replies.