No Code Attached Yet
avatar heli63
heli63
17 Sep 2023

Steps to reproduce the issue

Hello, when I just updated my test-site to php 8.1 an get now this error message when I try to create a new module for the simple-social-media-stream of Asana Plugins

Expected result

Creating a new module

Actual result

This error: Deprecated: Automatic conversion of false to array is deprecated in HTMLHelper.php on line 795

System information (as much as possible)

php 8.1.23, Joomla 4.3.4, mysql 5.7.40, Apache-Webserver

Additional comments

avatar heli63 heli63 - open - 17 Sep 2023
avatar heli63 heli63 - change - 17 Sep 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Sep 2023
avatar ghazal
ghazal - comment - 18 Sep 2023

Maybe you should inform asanaplugins.com of this error message. I have seen it posted by users (in other contexts) and, I would guess, according to where it is in HTMLHelper.php, it could be related to a badly coded call to a js file/script in the plugin.
Php 8.1 is less tolerant than former versions.

avatar Fedik Fedik - change - 18 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-18 11:54:17
Closed_By Fedik
avatar Fedik Fedik - close - 18 Sep 2023
avatar Fedik
Fedik - comment - 18 Sep 2023

Please contact to the plugin developer to update their plugin.
The issue because the plugin uses old code that originaly was made for older joomla, wich have a diferent method call:

* @deprecated 4.0 The (file, framework, relative, pathOnly, detectBrowser, detectDebug) method signature is deprecated,
* use (file, options, attributes) instead.
*/
public static function script($file, $options = array(), $attribs = array())

Thanks!

Add a Comment

Login with GitHub to post a comment