Plugin Breaks Website
-
hi there
when installing this plugin ,it breaks the product category pages and products
how can we fix
-
I understand that upon installing this plugin the product category pages and product pages are breaking.
In order for us to get a better idea of your setup, please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Also, could you please navigate to WooCommerce > Status > Logs and from the dropdown on the right side, please see if there are any logs starting with the words
fatal-error
? Let us know what you find.### WordPress Environment ### WordPress address (URL): https://dailyeyewear.com Site address (URL): https://dailyeyewear.com WC Version: 6.8.2 REST API Version: ? 6.8.2 WC Blocks Version: ? 8.0.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_NZ External object cache: ? ### Server Environment ### Server Info: nginx/1.20.1 PHP Version: 7.4.30 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.36-MariaDB-1:10.3.36+maria~ubu1804 Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.8.2 WC Database Prefix: wp_ Total Database Size: 155.88MB Database Data Size: 72.74MB Database Index Size: 83.14MB wp_woocommerce_sessions: Data: 25.12MB + Index: 0.74MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.06MB + Index: 0.05MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.51MB + Index: 0.39MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.38MB + Index: 0.55MB + 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.28MB + Index: 0.25MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_comments: Data: 0.13MB + Index: 0.07MB + Engine MyISAM wp_defender_audit_log: Data: 20.55MB + Index: 65.64MB + Engine InnoDB wp_defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_defender_lockout: Data: 2.50MB + Index: 1.22MB + Engine InnoDB wp_defender_lockout_log: Data: 6.52MB + Index: 10.67MB + Engine InnoDB wp_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_profile: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_prouct_pre_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_elfsight_instagram_feed_widgets: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_newsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 4.12MB + Index: 0.08MB + Engine MyISAM wp_postmeta: Data: 5.50MB + Index: 2.01MB + Engine MyISAM wp_posts: Data: 1.27MB + Index: 0.24MB + Engine MyISAM wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_revslider_css_bkp: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sbi_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_posts: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sgpb_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sgpb_subscription_error_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_smush_dir_images: Data: 0.30MB + Index: 0.15MB + Engine MyISAM wp_termmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_vtprd_purchase_log: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_vtprd_transient_cart_data: Data: 2.47MB + Index: 0.03MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_yikes_easy_mc_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### attachment: 637 jetpack_migration: 2 la_block: 2 la_portfolio: 12 la_team_member: 6 la_testimonial: 3 nav_menu_item: 97 page: 37 popupbuilder: 1 post: 26 product: 56 product_variation: 264 revision: 124 shop_order: 553 shop_order_refund: 4 sl-insta-account: 1 sl-insta-feed: 1 sl-insta-media: 12 vtprd-rule: 1 wdf_scan: 1 woo_discount: 1 wpcf7_contact_form: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### Beehive Pro: by WPMU DEV – 3.4.0 Custom Code: by Alberto Uozumi – 1.0 Classic Editor: by WordPress Contributors – 1.6.2 Contact Form 7: by Takayuki Miyoshi – 5.6.3 Custom Sidebars Pro: by WPMU DEV – 3.2.3 Disable Comments: by WPDeveloper – 2.4.1 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Conversios.io - Google Analytics and Google Shopping plugin for WooCommerce: by Conversios – 4.8.9 Envato Market: by Envato – 2.0.7 Facebook for WooCommerce: by Facebook – 2.6.21 Google XML Sitemaps: by Auctollo – 4.1.5 Header Footer Code Manager: by 99robots – 1.1.27 HummPayment: by HummGroup – 2.2 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 LA Studio Core: by LA Studio – 2.3.0 Negan Package Demo Data: by LA Studio – 1.0.5 VarkTech Pricing Deals for WooCommerce: by Vark – 2.0.2.02 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 Slider Revolution: by ThemePunch – 6.2.2 Spotlight - Social Media Feeds: by RebelCode – 1.2 Top Bar: by WP Darko – 3.0.3 Branda Pro: by WPMU DEV – 3.4.8 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.9 Table Rate Shipping for WooCommerce: by JEM Plugins – 2.26 Extra Product Sorting Options for WooCommerce: by SkyVerge – 2.9.1 WooCommerce Windcave Gateway: by OPMC – 4.5 More Sorting Options for WooCommerce: by WP Wham – 3.2.9 WooCommerce: by Automattic – 6.8.2 Defender Pro: by WPMU DEV – 3.2.0 WPMU DEV Dashboard: by WPMU DEV – 4.11.15 Easy Forms for Mailchimp: by YIKES Inc. – 6.8.6 YITH WooCommerce Wishlist: by YITH – 3.12.0 ### Inactive Plugins (28) ### Akismet Anti-Spam: by Automattic – 5.0 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.13.1 Conditional Discounts for WooCommerce by ORION: by ORION – 2.28.1 Elfsight Instagram Feed CC: by Elfsight – 3.6.0 Facebook for WordPress: by Facebook – 3.0.7 Google Listings and Ads: by WooCommerce – 2.1.0 Hello Dolly: by Matt Mullenweg – 1.7.2 Hello Dolly: by Matt Mullenweg – 1.7.2 Hummingbird Pro: by WPMU DEV – 3.3.4 Jetpack: by Automattic – 11.2 Newsletter: by Stefano Lissa & The Newsletter Team – 7.5.3 Payment Express Gateway for WooCommerce: by PatSaTECH – 1.3.6 Popup Builder: by Sygnoos – 4.1.13 Product Gallery Slider for WooCommerce: by codeixer – 2.2.5 Remove Query Strings From Static Resources: by Speed Up My Website – 1.4 Robin image optimizer: by Creative Motion <[email protected]> – 1.5.6 Shipper Pro: by WPMU DEV – 1.2.12 Smash Balloon Instagram Feed: by Smash Balloon – 6.0.6 Smush: by WPMU DEV – 3.11.1 Smush Pro: by WPMU DEV – 3.11.1 Variation Swatches for WooCommerce: by RadiusTheme – 2.2.1 Webcraftic Clearfy – WordPress optimization plugin: by Creative Motion <[email protected]> – 2.0.5 WooCommerce New Zealand Post: by WooCommerce – 3.2 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Stripe Gateway: by WooCommerce – 6.6.0 Woo Discount Rules: by Flycart – 2.4.4 WP Mail SMTP: by WPForms – 3.5.2 XML Sitemap & Google News: by RavanH – 5.3.3 ### Dropin Plugins (1) ### object-cache.php: WPMU DEV Hummingbird Object Cache ### Must Use Plugins (2) ### assets-manager.php: by – 1.0.9 WPMU DEV Hosting: by WPMU DEV – 0.1 ### Settings ### API Enabled: – Force SSL: – Currency: NZD ($) 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #68 - /shop-2/ Cart: #71 - /cart-2/ Checkout: #72 - /checkout-2/ My account: #73 - /my-account-2/ Terms and conditions: #1428 - /terms-conditions/ ### Theme ### Name: Negan Version: 1.4.2 Author URL: https://themeforest.net/user/LA-Studio?ref=LA-Studio 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 ### Overrides: Negan/woocommerce/archive-product.php Negan/woocommerce/cart/cross-sells.php Negan/woocommerce/content-product.php Negan/woocommerce/content-single-product.php Negan/woocommerce/global/quantity-input.php Negan/woocommerce/loop/add-to-cart.php Negan/woocommerce/loop/loop-end.php Negan/woocommerce/loop/loop-start.php Negan/woocommerce/loop/orderby.php Negan/woocommerce/loop/pagination.php Negan/woocommerce/loop/sale-flash.php Negan/woocommerce/myaccount/form-login.php Negan/woocommerce/product-searchform.php Negan/woocommerce/single-product/product-image.php Negan/woocommerce/single-product/product-thumbnails.php Negan/woocommerce/single-product/related.php Negan/woocommerce/single-product/share.php Negan/woocommerce/single-product/tabs/tabs.php Negan/woocommerce/single-product/up-sells.php ### More Sorting Settings ### More Sorting for WooCommerce: yes Custom Sorting: no Sort by date (ascending): Sort by date (ascending) Sort by date (descending): Sort by date (descending) Sort by title: A to Z: Sort by title: A to Z Sort by title: Z to A: Sort by title: Z to A Sort by slug: A to Z: Sort by slug: Z to A: Sort by SKU: low to high: Sort by SKU: low to high Sort by SKU: high to low: Sort by SKU: high to low Sort by SKU: no Sort by stock quantity: low to high: Sort by stock quantity: low to high Sort by stock quantity: high to low: Sort by stock quantity: high to low Sort by total sales: low to high: Sort by total sales: high to low: Sort by last modified date: oldest to newest: Sort by last modified date: oldest to newest Sort by last modified date: newest to oldest: Sort by last modified date: newest to oldest Sort by author ID (ascending): Sort by author ID (descending): Sort by product ID (ascending): Sort by product ID (descending): Sort by number of comments (ascending): Sort by number of comments (descending): Random sorting: No sorting: Custom Meta Sorting: no Total Options: 1 Enable/Disable: yes Type: meta_value Meta Key: Secondary Sorting: date Order: asc Parameter: custom_sorting_1 Title: Custom Meta Sorting #1 Default Sorting Options: no Default sorting: Default sorting Sort by popularity: Sort by popularity Remove "Sort by popularity": no Sort by average rating: Sort by average rating Remove "Sort by average rating": no Sort by newness: Sort by newness Remove "Sort by newness": no Sort by price: low to high: Sort by price: low to high Remove "Sort by price: low to high": no Sort by price: high to low: Sort by price: high to low Remove "Sort by price: high to low": no Rearrange Sorting: no Rearrange Sorting: menu_order popularity rating date price price-desc date-asc date-desc title-asc title-desc name-asc name-desc sku-asc sku-desc stock_quantity-asc stock_quantity-desc total_sales-asc total_sales-desc modified-asc modified-desc author-asc author-desc product_id-asc product_id-desc comment_count-asc comment_count-desc rand none Remove All Sorting (Including WooCommerce Default): no Enable/Disable: no Theme: avada ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-09-06 00:51:35 +00:00 Options: ? Notes: 22 Onboarding: completed ### Action Scheduler ### Complete: 1,273 Oldest: 2022-08-05 10:34:21 +0000 Newest: 2022-09-05 09:44:28 +0000 Pending: 4 Oldest: 2022-09-06 01:12:41 +0000 Newest: 2022-09-08 02:11:18 +0000 ### Status report information ### Generated at: 2022-09-05 10:03:11 +00:00
2022-08-31T00:00:05+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag::Automattic\WooCommerce\GoogleListingsAndAds\Google\{closure}(), 2 passed in /var/web/site/public_html/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in /var/web/site/public_html/wp-content/plugins/google-listings-and-ads/src/Google/GlobalSiteTag.php:153
Stack trace:
#0 /var/web/site/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag->Automattic\WooCommerce\GoogleListingsAndAds\Google\{closure}(‘<a rel=”nofollo…’, Object(WC_Product_Variable))
#1 /var/web/site/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(‘<a rel=”nofollo…’, Array)
#2 /var/web/site/public_html/wp-content/themes/Negan/woocommerce/loop/add-to-cart.php(25): apply_filters(‘woocommerce_loo…’, ‘<a rel=”nofollo…’, Object(WC_Product_Variable))
#3 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/wc-core-functi in /var/web/site/public_html/wp-content/plugins/google-listings-and-ads/src/Google/GlobalSiteTag.php on line 153[snip]
Moderator note: Please don’t do that! If you have thousands of lines to post, use pastebin.com or gist.github.com. Long pastes like that sorta break the forums.- This reply was modified 2 years, 2 months ago by Steven Stern (sterndata).
Thanks for sharing the System Status Report and the error log.
There is a large number of plugins active on the site.
Our recommendation is to disable all the plugins temporarily, except WooCommerce, switch the theme to Storefront, and then install Google Listings & Ads. Once the installation is complete then you can enable all the disabled things one by one, and also the theme. This way you will be able to determine which plugin/theme is causing the conflict that is making the site break.
You can test this out on a staging site using a plugin like WP Staging, without affecting the live site.
You can read more about plugin and theme conflicts in our Self-Service Guide.
In addition to the conflict test I just wanted to mention that the stack trace you posted is showing that the file:
wp-content/themes/Negan/woocommerce/loop/add-to-cart.php
is calling the hookwoocommerce_loop_add_to_cart_link
with only 2 arguments instead of 3.Since that’s part of the theme I’d suggest to contact the theme authors in regards to overriding the template files the same way as it’s done in WooCommerce. The following guide can be helpful: https://woocommerce.com/document/template-structure/
- The topic ‘Plugin Breaks Website’ is closed to new replies.