Tco_google_analytics_track_all warning when upgrading to php 8.0

Good Morning,

I skip this warning when updating to php 8.0. Any ideas?

Warning: Undefined array key “tco_google_analytics_track_all” in /usr/home/domain.net/web/wp-content/plugins/tco-google-analytics/functions/options.php on line 52 Warning: Undefined array key “tco_google_analytics_track_all” in /usr/home/domain.net/web/wp-content/plugins/tco-google-analytics/functions/options.php on line 52

Hi @gbg4,

Thanks for reaching out!

This is just a PHP warning and doesn’t affect any functionality of your website. To remove the warnings, I suggest that you add this code in your wp-config.php file.

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Reference:

Hope that helps.

Good Morning,

she already had them on and deleted the cache but nothing at all. Keep dating.

Greetings

Hi @gbg4,

If that code given by my colleague is already there in the wp-config.php and you are still seeing the warning, there might be something else is the reason behind your issue. And it will be very difficult to understand it without investigating through the WordPress admin dashboard, I would suggest you please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hello @gbg4,

The given credentials have very limited privileges. The theme and plugin files cannot be edited. Have you edited the wp-config.php file and disabled the debug mode? Please provide us your FTP details instead. We will be needing the following added in a secure note.

  • FTP hostname
  • FTP username
  • FTP password

Best Regards.

I have already left you in the secure note the data!

Already solved. The hosting had activated the show errors

Hi @gbg4,

We’re glad that you’re able to sort it out! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.