PHP Deprecated: Creation of dynamic property Online_Shop_Theme_Info::$notification is deprecated in /home/u318971811/domains/labtexbd.com/public_html/wp-content/themes/online-shop/acmethemes/at-theme-info/class-at-theme-info.php on line 49
]]>debug.log
[20-Jan-2025 08:07:15 UTC] PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-includes/formatting.php on line 4494
[20-Jan-2025 08:07:15 UTC] PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-includes/formatting.php on line 4494
[20-Jan-2025 08:07:15 UTC] PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-includes/formatting.php on line 4494
Backtrace example:
#0 .../wp-includes/formatting.php(4622): esc_url(NULL, NULL, 'db')
#1 .../wp-content/plugins/event-post/eventpost.php(2410): sanitize_url(NULL)
#2 .../wp-includes/class-wp-hook.php(326): EventPost->save_postdata(167850)
#3 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(167850, Array)
#4 .../wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 .../wp-includes/post.php(4760): do_action('save_post', 167850, Object(WP_Post), true)
#6 .../wp-includes/post.php(4862): wp_insert_post(Array, false, true)
#7 .../wp-admin/includes/post.php(453): wp_update_post(Array)
#8 .../wp-admin/includes/ajax-actions.php(2138): edit_post()
#9 .../wp-includes/class-wp-hook.php(324): wp_ajax_inline_save('')
#10 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#11 .../wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#12 .../wp-admin/admin-ajax.php(188): do_action('wp_ajax_inline-...')
Current code:
2404: if (false !== $virtual_location = filter_input(INPUT_POST, $this->META_VIRTUAL_LOCATION, FILTER_SANITIZE_URL)) {
2405: update_post_meta($post_id, $this->META_VIRTUAL_LOCATION, sanitize_url($virtual_location));
2406: }
Function sanitize_url($virtual_location)
is called with NULL
value there.
Suggested fix: Check values for NULL
before use.
Event post 5.9.8, WordPress 6.4.5
]]>the plugin is throwing a lot of deprecated php errors:
[18-Dec-2024 11:36:34 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images_Admin::$runSitePress is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/admin/class-smart-variations-images-admin.php on line 67
[18-Dec-2024 11:36:34 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images::$options is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/includes/class-smart-variations-images.php on line 83
[18-Dec-2024 11:36:34 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images_Admin::$runSitePress is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/admin/class-smart-variations-images-admin.php on line 67
[18-Dec-2024 11:36:35 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images::$options is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/includes/class-smart-variations-images.php on line 83
[18-Dec-2024 11:36:35 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images_Admin::$runSitePress is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/admin/class-smart-variations-images-admin.php on line 67
[18-Dec-2024 11:36:36 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images::$options is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/includes/class-smart-variations-images.php on line 83
[18-Dec-2024 11:36:36 UTC] PHP Deprecated: Creation of dynamic property Smart_Variations_Images_Admin::$runSitePress is deprecated in /home/u306559867/domains/solideogloria.pt/public_html/wp-content/plugins/smart-variations-images/admin/class-smart-variations-images-admin.php on line 67
Is there anything we or you could do about it?
Thank you,
Mariana Almeida
]]>[25-Nov-2024 10:41:05 UTC] PHP Deprecated: Creation of dynamic property WPB_EDD_SL_Plugin_Updater::$beta is deprecated in /home/n60deg7/public_html/wp-content/plugins/wpb-woocommerce-related-products-slider-pro/admin/updater/plugin-updater.php on line 46
]]>[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in …./public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……./public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in …….public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
Thoughts? We’re on PHP 8.3
]]>I’m using your plugin for my customer and I got this PHP deprecation notice in the logs:
PHP Deprecated: Implicit conversion from float NAN to int loses precision in /wp-content/plugins/post-smtp/Postman/PostmanUtils.php on line 222
Plugin 2.9.9
WordPress 6.6.2
PHP 8.1.29
Regards,
Vlad
debug.log
[03-Oct-2024 11:43:43 UTC] PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-content/plugins/newsletter/includes/module-base.php on line 964
This is the code:
963: static function sanitize_gender($gender) {
964: $gender = trim(strtolower($gender));
965: if (empty($gender)) {
966: return 'n';
967: }
Seems the problem is caused when no gender is used so $gender
is null
before this function call.
Suggested fix: Check for null
in function before using strtolower()
and trim()
.
Newsletter 8.5.2, WordPress 6.3.5, PHP 8.1.x
]]>PHP Deprecated: Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in wp-content/plugins/give/vendor/myclabs/php-enum/src/Enum.php on line 246
When will you resolve this issue?
[02-Aug-2024 14:35:03 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized::$router is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/includes/class-a2-optimized.php on line 147
[02-Aug-2024 14:35:03 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized::$controllers is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/includes/class-a2-optimized.php on line 92
[02-Aug-2024 14:35:03 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized::$models is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/includes/class-a2-optimized.php on line 93
[02-Aug-2024 14:35:04 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized\Core\Router::$route_type_to_register is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/core/class-router.php on line 154
[02-Aug-2024 14:35:04 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized\Core\Router::$current_controller is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/core/class-router.php on line 220
[02-Aug-2024 14:35:04 UTC] PHP Deprecated: Creation of dynamic property A2_Optimized_Benchmark::$tmp_folder_name is deprecated in /home/ipdyoga/public_html/wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Benchmark.php on line 11
[02-Aug-2024 14:35:04 UTC] PHP Warning: Constant WP_MEMORY_LIMIT already defined in /home/ipdyoga/public_html/wp-config.php on line 115
I don’t know any code but seem to able to follow instructions. All help will be appreciated.
]]>