PHP Deprecated: Return type of Tribe\Events\Views\V2\iCalendar\Links\Link_Abstract::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/iCalendar/Links/Link_Abstract.php on line 443
]]>PHP Deprecated: ?str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in [ROOT_PATH_HERE]/wp-content/plugins/fast-velocity-minify/inc/frontend.php on line 1075
In the mentioned line I found this code:
add fvm_footer scripts, if enabled
if(fvm_can_minify_js()) {
$fm = fvm_add_footer_function($fm);
}
$hm = str_replace(array(”, ”), ”, $hm);
$hm_late = str_replace(array(”, ”), ”, $hm_late);
$fm = str_replace(”, ”, $fm); // this is line 1075
The function fvm_add_footer_function (defined in line 2193 in \wp-content\plugins\fast-velocity-minify\inc\common.php) returns nothing (void), so I am pretty sure this is the cause of the deprecated message.
Best regards,
Henning
Deprecated: auto_detect_line_endings is deprecated in /var/www/html/wp-content/plugins/the-events-calendar/src/Tribe/Importer/File_Reader.php on line 20
Which I think is related to: https://php.watch/versions/8.1/auto_detect_line_endings-ini-deprecated
Deprecated: Function utf8_decode() is deprecated in /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Meta/Chunker.php on line 472
Which I think is related to: https://php.watch/versions/8.2/utf8_encode-utf8_decode-deprecated
]]>Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Checker.php on line 1628
I’m using PHP8.3, plugin version 6.8.1, WordPress 6.6.2. Note this notice is only reached after the deprecated messages from https://www.ads-software.com/support/topic/deprecated-errors-on-php-8-2/ have been sorted.
I think the problem is Tribe__PUE__Checker::get_installed_version which drops through without setting a return value – hence is null. The reason it drops through is because get_plugin_file() returns “event-aggregator/event-aggregator.php” which doesn’t match any installed plugin (as I don’t have the Event Aggregator add on).
]]>PHP Deprecated: Creation of dynamic property managerForIcomoon\Scripts::$icomoon_file is deprecated in /wp-content/plugins/manager-for-icomoon/class/scripts.class.php on line 14
We have been patching this locally on sites we manage with the following change…
--- manager-for-icomoon/class/scripts.class.php 2024-11-13 16:36:54.821227783 -0500
+++ manager-for-icomoon-patched/class/scripts.class.php 2024-11-13 16:39:41.571228985 -0500
@@ -5,6 +5,7 @@
class Scripts {
private $icomoon_url ;
private $icomoon_path ;
+ private $icomoon_file ;
public function __construct(){
Perhaps you’ll have another way you’d want to address the deprecation, but at the very least we wanted to bring it to your attention
]]>Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (password) detected. in /{domain}/wp-includes/functions.php on line 6085
this is generated because of the function wpcf7_add_tag_generator_password()
that function is found here /wp-content/plugins/wpcf7-redirect/modules/cf7-shortcode-password-field.php
the error can be resolved by adding a comma to the end of line 168 (callback) and adding in a new line 169 of array(‘version’ => ‘2’)
function wpcf7_add_tag_generator_password() {
$tag_generator = WPCF7_TagGenerator::get_instance();
$tag_generator->add(
'password',
__( 'password', 'wpcf7-redirect' ),
'wpcf7_tag_generator_password',
array( 'version' => '2' )
);
}
PHP Deprecated: ?Function strptime() is deprecated in /home/site/wwwroot/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/AbstractClient.php on line 205
Are there any planned releases to update this function?
]]>Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (benchmark) detected. in /wp-includes/functions.php on line 6085
Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (dynamic-dropdown) detected. in /wp-includes/functions.php on line 6085
Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (dynamic-checkbox) detected. in /wp-includes/functions.php on line 6085
Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6085) in /wp-admin/includes/misc.php on line 1438
Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6085) in /wp-includes/functions.php on line 7108
Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6085) in /wp-admin/admin-header.php on line 9
]]>Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$data is deprecated
Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$options is deprecated