bug after update wordpress shortcodes-effects

philippe.t
31 Posts
philippe.t posted this 17 February 2022

Hello,
we have a bug with themler plugin shortcode
/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 418...

After update wordpress 5.9 or php 7.4

and in google search you see many website have the same issue
https://www.google.com/search?q=/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php

Error message:Warning: Trying to access array offset on value of type null in....
Maybe you must do use php code isset(...) if index does not exist....

Can you resolde the problem please ?

Regards
Philippe

Hello, we have a bug with themler plugin shortcode /wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 418... After update wordpress 5.9 or php 7.4 and in google search you see many website have the same issue https://www.google.com/search?q=/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php Error message:Warning: Trying to access array offset on value of type null in.... Maybe you must do use php code isset(...) if index does not exist.... Can you resolde the problem please ? Regards Philippe

Last edited 17 February 2022 by philippe.t

Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Vitaliy WD
490 Posts
Vitaliy WD posted this 18 February 2022

Since all support team in Nicepage, seems that need to ask all question about Themler here: https://nicepage.com/forum - there you can get answers faster.

I did this and got a quick response. So everyone who need fast answer feel free to register there and ask all your questions.

Since all support team in Nicepage, seems that need to ask all question about Themler here: https://nicepage.com/forum - there you can get answers faster. I did this and got a quick response. So everyone who need fast answer feel free to register there and ask all your questions.
philippe.t
31 Posts
philippe.t posted this 11 March 2022

Hello Vitaliy,

Thanks for your advice

I contacted nicepage but he response me to provide details on the topic on the Themler forum.
https://nicepage.com/questions/248365/themler-bug-after-update-wordpress-shortcodes-effects?page=1
I turn in circles.

Unbelievable, it is indeed warning messages in the functions of the shortcodes. I gave them the details. I think themler/nicepage are able to fix this. but I feel like they don't care. I wonder about their seriousness.

regards
Philippe

Hello Vitaliy, Thanks for your advice I contacted nicepage but he response me to provide details on the topic on the Themler forum. https://nicepage.com/questions/248365/themler-bug-after-update-wordpress-shortcodes-effects?page=1 I turn in circles. Unbelievable, it is indeed warning messages in the functions of the shortcodes. I gave them the details. I think themler/nicepage are able to fix this. but I feel like they don't care. I wonder about their seriousness. regards Philippe
@ITS
72 Posts
@ITS posted this 09 October 2023

So... the "Shortcodes" PHP Errors was not new... in Joomla with PHP 8.x and now in Wordpress with "Shortcodes Effects" in PHP 8.x

Again, please bring a fix for this !!!
Or can any Developer help ?
I have a fix for the shortcodes in joomla but wich edit must i make in this Line for shortcodes-effects.php in WP ?

Error Code:

Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 291; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 291; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 302; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 302', referer: 

The Error is in Line 291 and 302

            if ($item['info']['type'] === ShortcodesEffects::HTML_EFFECT) {

            if (strpos($item['info']['className'], $name) === 0) {

Here also Line 288 to 308

private static function _stackHasHtmlEffect($item) {
    do {
        $item = self::_stackPrevControl($item);
        if ($item['info']['type'] === ShortcodesEffects::HTML_EFFECT) {
            return true;
        }
    } while ($item && $item['info']['type'] !== ShortcodesEffects::CONTROL);

    return false;
}

private static function stack_get_effect_name($item, $name) {
    do {
        $item = self::_stackPrevControl($item);
        if (strpos($item['info']['className'], $name) === 0) {
            return $item;
        }
    } while ($item && $item['info']['type'] !== ShortcodesEffects::CONTROL);

    return false;
}

So... the "Shortcodes" PHP Errors was not new... in Joomla with PHP 8.x and now in Wordpress with "Shortcodes Effects" in PHP 8.x Again, please bring a fix for this !!! Or can any Developer help ? I have a fix for the shortcodes in joomla but wich edit must i make in this Line for shortcodes-effects.php in WP ? Error Code: Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 291; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 291; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 302; PHP message: PHP Warning: Trying to access array offset on value of type null in /home/users/xy/www/xxx/wp-content/plugins/themler-core/shortcodes/shortcodes-effects.php on line 302', referer: The Error is in Line 291 and 302 if ($item['info']['type'] === ShortcodesEffects::HTML_EFFECT) { if (strpos($item['info']['className'], $name) === 0) { Here also Line 288 to 308 private static function _stackHasHtmlEffect($item) { do { $item = self::_stackPrevControl($item); if ($item['info']['type'] === ShortcodesEffects::HTML_EFFECT) { return true; } } while ($item && $item['info']['type'] !== ShortcodesEffects::CONTROL); return false; } private static function stack_get_effect_name($item, $name) { do { $item = self::_stackPrevControl($item); if (strpos($item['info']['className'], $name) === 0) { return $item; } } while ($item && $item['info']['type'] !== ShortcodesEffects::CONTROL); return false; }

Last edited 09 October 2023 by @ITS

You must log in or register to leave comments