Skip Navigation

[Resolved] PHP Deprecated in debug_log

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 2 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2644587

Hi at all, I've found these messages in my debug.log

PHP Deprecated: Required parameter $render_slug follows optional parameter $content in /html/lwt2023/wp-content/plugins/wp-views/vendor/toolset/divi/includes/modules/View/View.php on line 56

#2644621

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

That is a deprecation message which shows that the method used in the code will not work in newer versions of PHP.

The code now is okay and there are no issues regarding its execution.

We are aware of the codebase and when the compatibility with PHP 8.2 is announced this specific use-case will be refactored with newer PHP standards.

But for now, you can ignore the message and do not update the PHP version to 8.2 at the time being.

Thanks.