Help Center

Powered by Minitek FAQ Book
Loading...

Error Report: Deprecated Dynamic Property Warning in PHP 8.2.5 with Minitek Live Search 4.3.2

4
4CREATORPosted 7 months agoEdited 7 months ago
Joomla! Extensions - Professional Subscription

Hello,

I'm currently using Minitek Live Search version 4.3.2 on Joomla 4, and I've encountered a PHP deprecation warning that I believe is worth bringing to your attention for potential future compatibility considerations.

The warning is as follows:

Deprecated: Creation of dynamic property MinitekSliderLibCss::$utilitiesLib is deprecated in /home/XXX/components/com_minitekslider/libraries/css.php on line 16

This issue arises in a PHP 8.2.5 environment, and it only appears when Joomla's global configuration for error reporting is set to "maximum". Although this doesn't immediately affect functionality, it might pose compatibility issues with future PHP releases.

Given that the latest version for Joomla 5 is 5.0.1 as per your changelogs, I'm wondering if there are plans to address such deprecation warnings in future updates for Joomla 4 versions, or if there's a recommended workaround for this issue.

Thank you for your attention to this matter.


Best regards


P.S. Additionally, I have encountered a similar deprecation warning with another extension of yours, Minitek Wall, specifically version 4.3.2 on Joomla 4, in a PHP 8.2.5 environment. The warning is as follows:

Deprecated: Creation of dynamic property MinitekWallLibOptions::$utilitiesLib is deprecated in /home/XXX/components/com_minitekwall/libraries/options.php on line 16

I hope this can also be looked into for future compatibility improvements. Thank you.

Loading...
0
#4256

1 answer

M
MinitekPosted 7 months agoModerator

Hi there,

To be honest, I currently don't have the time to maintain both versions for Joomla 4 and Joomla 5, so any future developments/fixes will be for Joomla 5 only.

However, I can provide you with a quick fix.

Open the file /home/XXX/components/com_minitekslider/libraries/css.php

and on line 16, right before the __construct function, add the following:


class MinitekSliderLibCss
{
	var $utilitiesLib = null;

	function __construct($utilitiesLib)
	{
    ...

Now, fixing this may reveal more errors, so let me know if something else comes up.