Fatal Error on plugin update
-
Ran plugin updates and got a fatal error. Entered recovery mode and it says the problem was this plugin and the error is Uncaught RuntimeException
An error of type E_ERROR was caused in line 47 of the file /var/www/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-plugin-locator.php. Error message: Uncaught RuntimeException: Failed to locate plugin /var/www/wp-content/plugins/google-listings-and-ads in /var/www/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-plugin-locator.php:47 Stack trace: #0 /var/www/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-autoloader.php(46): Automattic\Jetpack\Autoloader\jp54e9ff8ab9b78b6cb165153f277b0785\Plugin_Locator->find_current_plugin() #1 /var/www/wp-content/plugins/google-listings-and-ads/vendor/autoload_packages.php(13): Automattic\Jetpack\Autoloader\jp54e9ff8ab9b78b6cb165153f277b0785\Autoloader::init() #2 /var/www/wp-content/plugins/google-listings-and-ads/src/Autoloader.php(37): require(‘/var/www/wp-con…’) #3 /var/www/wp-content/plugins/google-listings-and-ads/google-listings-and-ads.php(37): Automattic\WooCommerce\GoogleListingsAndAds\Autoloader::init() #4 /var/www/wp-settings.php(418): include_once(‘/var/www/wp-con…’) #5 /var/www/wp-config.php(86): require_once(‘/var/www/wp-set…’) #6 /var/www/wp-load.p`
-
I’m getting the same error
I’m sorry to hear that both of you are having this problem with the latest version of the Google listing & Ads extension.
From the error message, it seems the plugin was unable to locate the correct file/folder for it. Can you please deactivate and then delete the plugin (you can also delete the Google-listing-ads folder from wp-content > plugins folder).
Then try installing the latest version. Let us know how it goes.
It will be great if you could share your current System Status Report. You can get it by navigating to the
WooCommerce / Statussection of your site. Once there, click on theGet system reportbutton and then copy it by clicking on theCopy for supportbutton. Then paste it here in a comment.Hm. Any reason as to WHY that happened or how to prevent it going forward?
Not feeling very confident in keeping the plugin.Here’s the WC status report
### WordPress Environment ### WordPress address (URL): https://jonesstreetpress.com Site address (URL): https://jonesstreetpress.com WC Version: 6.3.1 REST API Version: ✔ 6.3.1 WC Blocks Version: ✔ 6.9.0 Action Scheduler Version: ✔ 3.4.0 WC Admin Version: ✔ 3.2.1 Log Directory Writable: ✔ WP Version: 5.9.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.17 PHP Post Max Size: 100 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.79.1 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.26-29-log Max Upload Size: 100 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wp_76b4xks0wt_ Total Database Size: 56.56MB Database Data Size: 54.40MB Database Index Size: 2.16MB wp_76b4xks0wt_woocommerce_sessions: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_76b4xks0wt_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_76b4xks0wt_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_actionscheduler_actions: Data: 0.05MB + Index: 0.13MB + Engine InnoDB wp_76b4xks0wt_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_76b4xks0wt_aioseo_posts: Data: 0.11MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_camera: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_76b4xks0wt_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_76b4xks0wt_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_options: Data: 4.09MB + Index: 0.08MB + Engine InnoDB wp_76b4xks0wt_postmeta: Data: 45.08MB + Index: 0.19MB + Engine InnoDB wp_76b4xks0wt_posts: Data: 3.33MB + Index: 0.13MB + Engine InnoDB wp_76b4xks0wt_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_sbi_feed_caches: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_sbi_instagram_posts: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_thesis_terms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_76b4xks0wt_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_76b4xks0wt_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_76b4xks0wt_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_76b4xks0wt_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_76b4xks0wt_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_76b4xks0wt_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_76b4xks0wt_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 143 custom_css: 1 customize_changeset: 9 fl-builder-template: 20 fl-theme-layout: 5 nav_menu_item: 14 page: 15 post: 1 product: 6 product_variation: 19 revision: 363 shop_coupon: 1 wp_global_styles: 1 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (13) ### All in One SEO: by All in One SEO Team – 4.1.9.4 Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 2.5.3 Beaver Themer: by The Beaver Builder Team – 1.4.1.2 Contact Form 7: by Takayuki Miyoshi – 5.5.6 Smash Balloon Instagram Feed: by Smash Balloon – 6.0.4 Jetpack: by Automattic – 10.7 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.30 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.20 WooCommerce Minicart: by Ahmad Shyk – 1.0.6 WooCommerce Payments: by Automattic – 3.9.1 (update to version 3.9.2 is available) WooCommerce Shipping & Tax: by WooCommerce – 1.25.25 WooCommerce: by Automattic – 6.3.1 WP101 Video Tutorials: by WP101Plugin.com – 0.3 ### Inactive Plugins (0) ### ### Must Use Plugins (2) ### System Plugin: by – 4.22.2 WordPress automation by Installatron: by – ### 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) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: #591 - /shop/ Cart: #592 - /cart/ Checkout: #593 - /checkout/ My account: #594 - /my-account/ Terms and conditions: #563 - /terms/ ### Theme ### Name: Jones Street Press Theme Version: 1.0 Author URL: https://bexmarie.com Child Theme: ✔ Parent Theme Name: Beaver Builder Theme Parent Theme Version: 1.7.10 Parent Theme Author URL: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page WooCommerce Support: ✔ ### Templates ### Overrides: – ### WooCommerce Payments ### Version: 3.9.1 Connected to WPCOM: Yes Blog ID: 202177422 Account ID: acct_1KMF6d2Hid0Qn4uo ### Action Scheduler ### Canceled: 7 Oldest: 2022-03-11 09:47:08 +0000 Newest: 2022-03-22 08:45:18 +0000 Complete: 52 Oldest: 2022-03-07 14:28:25 +0000 Newest: 2022-04-05 12:13:47 +0000 Pending: 5 Oldest: 2022-04-05 12:13:55 +0000 Newest: 2022-04-06 12:13:47 +0000 ### Status report information ### Generated at: 2022-04-05 12:14:42 +00:00Hi there @bexmarie,
Thanks for getting back to us.
Any reason as to WHY that happened or how to prevent it going forward?
The causes may vary, but most of the time it’s due to server-related issues such as permissions.
For now, I would recommend retrying the update as my colleague mentioned, or updating the plugin via FTP (here’s an article on that).
If the issue persists or happens when updating another plugin, I would then suggest checking with your host.
But let us know how it goes when you retry the update.
Thanks.
The topic ‘Fatal Error on plugin update’ is closed to new replies.