Warning Message: Attempt to assign property ‘value’ to non-object
-
When logged into the Admin area of my web sit, I get the following message on 2 lines at the top of every page:
Warning: Attempt to assign property ‘translations’ of non-object in /site info/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php on line 81
The routine containing line 81 is:
`/**
* Runs in a cron thread, or in a visitor thread if triggered
* by _maybe_update_plugins(), or in an auto-update thread.
*
* @param object $transient The update_plugins transient object.
*
* @return object The same or a modified version of the transient.
*/
public static function transient_update_plugins( $transient ) {
$update_data = self::get_update_data();foreach ( WC_Helper::get_local_woo_plugins() as $plugin ) {
if ( empty( $update_data[ $plugin[‘_product_id’] ] ) ) {
continue;
}$data = $update_data[ $plugin[‘_product_id’] ];
$filename = $plugin[‘_filename’];$item = array(
‘id’ => ‘woocommerce-com-‘ . $plugin[‘_product_id’],
‘slug’ => ‘woocommerce-com-‘ . $data[‘slug’],
‘plugin’ => $filename,
‘new_version’ => $data[‘version’],
‘url’ => $data[‘url’],
‘package’ => $data[‘package’],
‘upgrade_notice’ => $data[‘upgrade_notice’],
);if ( isset( $data[‘requires_php’] ) ) {
$item[‘requires_php’] = $data[‘requires_php’];
}// We don’t want to deliver a valid upgrade package when their subscription has expired.
// To avoid the generic “no_package” error that empty strings give, we will store an
// indication of expiration for theupgrader_pre_download
filter to error on.
if ( ! self::_has_active_subscription( $plugin[‘_product_id’] ) ) {
$item[‘package’] = ‘woocommerce-com-expired-‘ . $plugin[‘_product_id’];
}if ( version_compare( $plugin[‘Version’], $data[‘version’], ‘<‘ ) ) {
$transient->response[ $filename ] = (object) $item;
unset( $transient->no_update[ $filename ] );
} else {
$transient->no_update[ $filename ] = (object) $item;
unset( $transient->response[ $filename ] );
}
}$translations = self::get_translations_update_data();
LINE 81 —>> $transient->translations = array_merge( isset( $transient->translations ) ? $transient->translations : array(), $translations );return $transient;
}`System Status:
### WordPress Environment ### WordPress address (URL): https://blackwatercreatures.com Site address (URL): https://blackwatercreatures.com WC Version: 5.5.1 REST API Version: ? 5.5.1 WC Blocks Version: ? 5.3.2 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.4.1 Log Directory Writable: ? WP Version: 5.8 WP Multisite: – WP Memory Limit: 64 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.21 PHP Post Max Size: 64 MB PHP Time Limit: 50000 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.33-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.5.1 WC Database Prefix: wp_ Total Database Size: 22.39MB Database Data Size: 19.28MB Database Index Size: 3.11MB wp_woocommerce_sessions: Data: 1.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.13MB + Index: 0.14MB + 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.06MB + Index: 0.13MB + 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_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.11MB + Index: 0.09MB + Engine InnoDB wp_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_lockdowns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_login_fails: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ngg_imagify_data: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_ngg_pictures: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_options: Data: 3.50MB + Index: 0.08MB + Engine InnoDB wp_photocrati_albums: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_photocrati_ecommerce_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_photocrati_galleries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_photocrati_gallery_ids: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_photocrati_gallery_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_photocrati_version: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 1.52MB + Index: 0.64MB + Engine InnoDB wp_posts: Data: 1.48MB + Index: 0.09MB + 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.09MB + 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: 1.33MB + 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: 5.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.11MB + 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: 2.52MB + 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.11MB + 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.08MB + 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.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 0.09MB + Index: 0.08MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 26 custom_css: 1 display_type: 20 jetpack_migration: 2 nav_menu_item: 8 ngg_pricelist_item: 16 oembed_cache: 3 page: 12 photocrati-comments: 5 post: 1 product: 1 revision: 227 shop_order: 154 shop_order_refund: 3 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5 Block Specific Spam Woo Orders: by guwii – 0.53 Classic Editor: by WordPress Contributors – 1.6 Contact Form 7 Image Captcha: by KC Computing – 3.2.3 Contact Form 7: by Takayuki Miyoshi – 5.4.2 Drop Cap Shortcode: by Eka Kurniawan BestWebLayout – 1.3 FooBox Image Lightbox: by FooPlugins – 2.7.16 Jetpack: by Automattic – 9.9 Login LockDown: by Michael VanDeMar – v1.8.1 NextGEN Pro: by Imagely – 3.6.0 NextGEN Gallery: by Imagely – 3.12 PayPal for WooCommerce: by Angell EYE – 1.5.7 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.56 Product Customer List for WooCommerce: by Kokomo – 2.9.3 WooCommerce Simple Buy Now: by Andy Hoang Huu – 2.0.0 Woocommerce Table Rate Shipping: by JEM Plugins – 2.1.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.2 WooCommerce Sequential Order Numbers: by SkyVerge – 1.9.5 WooCommerce Shipping & Tax: by WooCommerce – 1.25.17 WooCommerce: by Automattic – 5.5.1 Wordfence Security: by Wordfence – 7.5.4 Yoast SEO: by Team Yoast – 16.7 WP Widget in Navigation: by Yudiz Solutions Pvt. Ltd. – 3.0.1 WPFront Scroll Top: by Syam Mohan – 2.0.4.04013 ### Inactive Plugins (0) ### ### Must Use Plugins (2) ### 1&1 Product Subdomain: by 1&1 – 1.0.1 Disable Yoast SEO Notifications: 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) 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: #54 - /shop/ Cart: #55 - /cart/ Checkout: #56 - /checkout/ My account: ? Page ID is set but the page does not exist Terms and conditions: ? Page not set ### Theme ### Name: Photocrati Pro Version: 5.0.9 Author URL: https://www.photocrati.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: ? Not declared ### Templates ### Overrides: photocrati-pro/woocommerce/emails/customer-completed-order.php photocrati-pro/woocommerce/emails/customer-invoice.php photocrati-pro/woocommerce/emails/customer-on-hold-order.php photocrati-pro/woocommerce/emails/customer-processing-order.php ### Action Scheduler ### Complete: 114 Oldest: 2021-06-21 09:22:51 -0400 Newest: 2021-07-21 19:15:26 -0400 Pending: 1 Oldest: 2021-07-22 10:57:43 -0400 Newest: 2021-07-22 10:57:43 -0400 ### Status report information ### Generated at: 2021-07-21 19:16:40 -04:00
The page I need help with: [log in to see the link]
- The topic ‘Warning Message: Attempt to assign property ‘value’ to non-object’ is closed to new replies.