Background of the issue:
I am trying to debug an issue with the Cookiepro plugin on my WordPress site. Here is the debugging log:
[12-Jul-2024 03:41:26 UTC] PHP Deprecated: Creation of dynamic property Cookiepro::$plugin is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-content/plugins/cookiepro/class-cookiepro.php on line 43
[12-Jul-2024 03:41:29 UTC] PHP Deprecated: Creation of dynamic property Cookiepro::$plugin is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-content/plugins/cookiepro/class-cookiepro.php on line 43
[12-Jul-2024 03:41:35 UTC] PHP Deprecated: Creation of dynamic property Cookiepro::$plugin is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-content/plugins/cookiepro/class-cookiepro.php on line 43
[12-Jul-2024 03:41:38 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /var/www/vhosts/franklincovey_uk-wp/wp-includes/ms-settings.php on line 57
[12-Jul-2024 03:41:38 UTC] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-includes/ms-settings.php on line 57
[12-Jul-2024 03:41:38 UTC] PHP Deprecated: Creation of dynamic property Cookiepro::$plugin is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-content/plugins/cookiepro/class-cookiepro.php on line 43
[12-Jul-2024 03:41:39 UTC] PHP Warning: Undefined array key "host" in /var/www/vhosts/franklincovey_uk-wp/wp-includes/canonical.php on line 716
[12-Jul-2024 03:41:39 UTC] PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/franklincovey_uk-wp/wp-includes/canonical.php on line 716
[12-Jul-2024 03:41:39 UTC] PHP Warning: Undefined array key "host" in /var/www/vhosts/franklincovey_uk-wp/wp-includes/canonical.php on line 727
[12-Jul-2024 03:41:39 UTC] PHP Warning: Undefined array key "host" in /var/www/vhosts/franklincovey_uk-wp/wp-includes/canonical.php on line 730
[12-Jul-2024 03:41:39 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/franklincovey_uk-wp/wp-includes/ms-settings.php:57) in /var/www/vhosts/franklincovey_uk-wp/wp-includes/pluggable.php on line 1435
[12-Jul-2024 03:41:39 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/franklincovey_uk-wp/wp-includes/ms-settings.php:57) in /var/www/vhosts/franklincovey_uk-wp/wp-includes/pluggable.php on line 1438
Link to a page where the issue can be seen: hidden link
Symptoms:
I expected to see the bug fixed, but instead, I got multiple PHP Deprecated and PHP Warning messages related to the Cookiepro plugin and WordPress core files.
Questions:
How can I fix the deprecated property creation issue in the Cookiepro plugin?
What should I do about the undefined array key warnings in the WordPress core files?
How can I resolve the 'Cannot modify header information' warning?
This ticket has been inactive for quite a while. I didn't get a reply from you. So, I've transformed this chat into a support ticket because you may still need our help. If you do, please reply to this ticket, and one of our supporters will continue helping you.
Please try my suggestion to update WPML, Strings Translation, and any of our plugins that need an update. If you don't see an update to our plugins, please check this link.