PHP Notice: Trying to get property ‘ID’ of non-object in
-
Hello! How ya doing….. all thought, please i need help for the below issues.
[05-Dec-2020 05:23:16 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-includes/link-template.php on line 349
- This topic was modified 3 years, 12 months ago by globalmmjdispensary.
-
Hello, Does this issue disappear when you disable the plugin?
I don’t even know which plugin it’s thought.
It has no plugin mentioned are you can see
[05-Dec-2020 05:23:16 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-includes/link-template.php on line 349
Hello, This seems to be a site issue, not a plugin. Try disabling WP Meta and Date remover.
The WP Meta and Date remover is not even or has never been installed on my site.
When i go check the file where the notification is coming from line 334, this is what i see in line 334: if ( ‘page’ === get_option( ‘show_on_front’ ) && get_option( ‘page_on_front’ ) == $post->ID ) {
And in the scripts, ‘page’ in red color ( ‘show_on_front’ ) also in red color and ( ‘page_on_front’ ) also in red color. I can i fix this please ?
Here’s my site reports below,
### WordPress Environment ### WordPress address (URL): https://ganjawholesales.com Site address (URL): https://ganjawholesales.com WC Version: 4.7.1 REST API Version: ? 4.7.1 WC Blocks Version: ? 3.6.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.6.3 Log Directory Writable: ? WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 513 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.12 PHP Post Max Size: 64 MB PHP Time Limit: 300 PHP Max Input Vars: 2000 cURL Version: 7.45.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: 5.7.26-29-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: 4.7.1 WC Database Prefix: wp_9xtvww2wgc_ Total Database Size: 34.96MB Database Data Size: 27.30MB Database Index Size: 7.66MB wp_9xtvww2wgc_woocommerce_sessions: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ahc_browsers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_countries: Data: 0.05MB + Index: 0.00MB + Engine InnoDB ahc_daily_visitors_stats: Data: 0.08MB + Index: 0.00MB + Engine InnoDB ahc_hits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_keywords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_online_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_recent_visitors: Data: 0.09MB + Index: 0.00MB + Engine InnoDB ahc_refering_sites: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_searching_visits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_search_engines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_search_engine_crawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_title_traffic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ahc_visitors: Data: 0.08MB + Index: 0.00MB + Engine InnoDB ahc_visits_time: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_9xtvww2wgc_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_9xtvww2wgc_eplm_popups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_eplm_popups_template: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_9xtvww2wgc_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_ilj_linkindex: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_9xtvww2wgc_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_newsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_options: Data: 3.41MB + Index: 0.20MB + Engine InnoDB wp_9xtvww2wgc_postmeta: Data: 7.52MB + Index: 4.03MB + Engine InnoDB wp_9xtvww2wgc_posts: Data: 9.52MB + Index: 0.39MB + Engine InnoDB wp_9xtvww2wgc_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_term_relationships: Data: 0.17MB + Index: 0.13MB + Engine InnoDB wp_9xtvww2wgc_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_9xtvww2wgc_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_9xtvww2wgc_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_9xtvww2wgc_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_wc_product_meta_lookup: Data: 0.09MB + Index: 0.16MB + Engine InnoDB wp_9xtvww2wgc_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_wm_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_wm_trees: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_9xtvww2wgc_yoast_indexable: Data: 1.52MB + Index: 0.47MB + Engine InnoDB wp_9xtvww2wgc_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_9xtvww2wgc_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_9xtvww2wgc_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_yoast_prominent_words: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_9xtvww2wgc_yoast_seo_links: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_9xtvww2wgc_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 29 acf-field-group: 5 attachment: 649 elementor_library: 2 flamingo_contact: 8 flamingo_inbound: 39 mbp-google-subposts: 4 nav_menu_item: 55 notificationx: 1 oembed_cache: 16 page: 24 post: 10 product: 167 product_variation: 530 revision: 389 service: 9 shop_coupon: 2 shop_order: 6 team: 8 wpcf7_contact_form: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (45) ### Gravity Forms: by Gravity Forms – 2.4.21 Advanced Custom Fields PRO: by Elliot Condon – 5.8.9 Advanced Custom Fields: by Elliot Condon – 5.9.3 Akismet Anti-Spam: by Automattic – 4.1.7 Beeketing For WooCommerce: by Beeketing – 3.8.16 – Installed version not tested with active version of WooCommerce 4.7.1 Classic Editor: by WordPress Contributors – 1.6 CoBlocks: by GoDaddy – 2.5.3 Coinbase Commerce: by Coinbase Commerce – 1.1.4 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Payment Gateway - CoinGate: by CoinGate – 1.2.3 – Installed version not tested with active version of WooCommerce 4.7.1 Contact Form 7: by Takayuki Miyoshi – 5.3 WP Popup Window Maker: by wp-buy – 1.7 Elementor Pro: by Elementor.com – 3.0.8 Elementor: by Elementor.com – 3.0.14 Flamingo: by Takayuki Miyoshi – 2.2 GTranslate: by Translate AI Multilingual Solutions – 2.8.60 Jetpack by WordPress.com: by Automattic – 9.2 Google Ads & Marketing by Kliken: by Kliken – 1.0.6 – Installed version not tested with active version of WooCommerce 4.7.1 Latent Toolkit: by EnvyTheme – 1.1.0 Mailchimp for WooCommerce: by Mailchimp – 2.4.7 – Installed version not tested with active version of WooCommerce 4.7.1 SiteAlert (Formerly WP Health): by Frank Corso – 1.9.0 Newsletter: by Stefano Lissa & The Newsletter Team – 6.9.9 One Click Demo Import: by ProteusThemes – 2.6.1 Product Watermark for WooCommerce: by BeRocket – 1.3.2.5 Rank Math SEO: by Rank Math – 1.0.53.1 Storefront Blog Customiser: by WooCommerce – 1.3.0 Storefront Footer Bar: by WooThemes – 1.0.4 Storefront Hamburger Menu: by WooCommerce – 1.2.2 Storefront Homepage Contact Section: by WooThemes – 1.0.5 Storefront Mega Menus: by WooCommerce – 1.6.2 – Installed version not tested with active version of WooCommerce 4.7.1 Storefront Parallax Hero: by WooCommerce – 1.5.7 Storefront Powerpack: by WooCommerce – 1.5.0 Storefront Pricing Tables: by WooCommerce – 1.1.0 Storefront Product Hero: by WooThemes – 1.2.13 Storefront Product Sharing: by WooCommerce – 1.0.6 Storefront Reviews: by WooCommerce – 1.0.6 – Installed version not tested with active version of WooCommerce 4.7.1 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.24 Tidio Chat: by Tidio Ltd. – 4.2.1 Visitor Traffic Real Time Statistics: by wp-buy – 2.8.1 WooCommerce Accepted Payment Methods: by jameskoster – 0.7.0 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Google Analytics Integration: by WooCommerce – 1.4.25 WooCommerce Shipping & Tax: by Automattic – 1.25.3 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Square: by WooCommerce – 2.2.5 WooCommerce: by Automattic – 4.7.1 WP Content Copy Protection & No Right Click: by wp-buy – 3.1.3 WP101 Video Tutorials: by WP101Plugin.com – 0.3 ### Inactive Plugins (1) ### Yoast SEO Premium: by Team Yoast – 15.4 ### Dropin Plugins (1) ### object-cache.php: APCu Object Cache ### Must Use Plugins (1) ### System Plugin: by – 3.22.3 ### 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: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #698 - /terms-conditions-2/ ### Theme ### Name: Latent Version: 1.1.0 Author URL: https://envytheme.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 ### Overrides: latent/woocommerce/archive-product.php latent/woocommerce/cart/cart-totals.php latent/woocommerce/cart/cart.php latent/woocommerce/cart/proceed-to-checkout-button.php latent/woocommerce/checkout/form-billing.php latent/woocommerce/checkout/form-checkout.php latent/woocommerce/checkout/form-shipping.php latent/woocommerce/checkout/payment.php latent/woocommerce/content-product.php latent/woocommerce/content-single-product.php latent/woocommerce/global/breadcrumb.php latent/woocommerce/loop/add-to-cart.php latent/woocommerce/loop/loop-end.php latent/woocommerce/loop/orderby.php latent/woocommerce/loop/pagination.php latent/woocommerce/myaccount/form-edit-account.php latent/woocommerce/myaccount/form-login.php latent/woocommerce/myaccount/form-lost-password.php latent/woocommerce/myaccount/my-address.php latent/woocommerce/single-product/add-to-cart/simple.php latent/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php latent/woocommerce/single-product/related.php latent/woocommerce/single-product/sale-flash.php latent/woocommerce/single-product/tabs/additional-information.php latent/woocommerce/single-product/tabs/description.php latent/woocommerce/single-product/tabs/tabs.php latent/woocommerce/single-product/title.php latent/woocommerce/single-product/up-sells.php latent/woocommerce/single-product-reviews.php latent/woocommerce/single-product.php ### Action Scheduler ### Complete: 43 Oldest: 2020-11-27 01:47:35 +0000 Newest: 2020-12-05 08:06:10 +0000
I just encounter another issue notice when copying my site report again
Notice: Undefined property: stdClass::$version in /var/www/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-status.php on line 255
This thread is for WP Meta and Date remover. You might need to open this on some general forums.
- This reply was modified 3 years, 11 months ago by prasadkirpekar.
- The topic ‘PHP Notice: Trying to get property ‘ID’ of non-object in’ is closed to new replies.