Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 1 replies, has 2 voices.

Last updated by Itamar 10 months, 4 weeks ago.

Assisted by: Itamar.

Author Posts
July 15, 2024 at 12:54 pm #15954526

markB-61

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?

July 15, 2024 at 1:24 pm #15954704

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

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.

https://wpml.org/faq/install-wpml/#updating-and-modifying-wpml-installation

Regards,
Itamar.

The topic ‘[Closed] Bug with the code plugin’ is closed to new replies.