WPIntell

Source evidence

How to hide error warning?

Flat Preloader · support · 2023-06-15T01:10:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
designer13421321 unresolved
Warning : Attempt to read property “ID” on null in /home/mywebsite/mywebsite.com/wp-content/plugins/flat-preloader/flat-preloader.php on line 120 That’s the message I see on the /shop/ page of my site. How can I fix it or at least hide the error message? Hi @nistuj817 You can hide that warning by setting WP_DEBUG=false in wp-config.php file. It is recommended in production. Someshow, my plugin cannot get the ID from the post object in the shop page. Could you share your Flat Preloader’s settings? Thanks for getting back to me I really appreciate it. Yeah I did end up hiding it via the config file so thank you. I believe post id 19 is the shop page and here are the settings – screenshot: https://imgur.com/a/Dycmahh

Comments

2 shown
Thien Nguyen 2023-06-17T13:34:00+00:00

Hi @nistuj817 You can hide that warning by setting WP_DEBUG=false in wp-config.php file. It is recommended in production. Someshow, my plugin cannot get the ID from the post object in the shop page. Could you share your Flat Preloader’s settings?

designer13421321 2023-06-19T19:03:00+00:00

Thanks for getting back to me I really appreciate it. Yeah I did end up hiding it via the config file so thank you. I believe post id 19 is the shop page and here are the settings – screenshot: https://imgur.com/a/Dycmahh