pods icon indicating copy to clipboard operation
pods copied to clipboard

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/pods/includes/data.php on line 298

Open oldrup opened this issue 1 year ago • 1 comments

Description

Hey!

Testing Pods 3.1.1 on WP 6.4.3, running PHP 8.1.27 - so far, no issues, nice work 👏

But with WP_DEBUG enabled, I get the following deprecation warning: Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/pods/includes/data.php on line 298

No biggie, sites work fine, just a heads-up. Let me know if I can provide any helpful information :)

Version

3.1.1

Testing Instructions

No response

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

on request

Pods Package

on request

oldrup avatar Feb 22 '24 15:02 oldrup

With pods plugin version 3.2.1.1, WordPress 6.5.3, PHP 8.2.19, I see the same deprecation warning in line 299 which does not seem to make much sense looking at the source code.

298 } 299 $output = call_user_func_array( $function, $args );

openmindculture avatar May 30 '24 10:05 openmindculture