Joomla 3.10.2 errors after themler update

tmgarrison
97 Posts
tmgarrison posted this 19 September 2021

I just updated a local installation of Joomla 3.10.2 and Themler (now) v523.

Everything was fine until I changed the width of the template pages to "Fluid" from "Wide". That's nothing new for me to do to a template. But today, after I did that I got all sorts of errors (see attached). There are 6 blocks of errors.

2 blocks of errors have this code:
Notice: Trying to access array offset on value of type null in C:\wamp64\www\Joomla-3\plugins\content\themlercontent\lib\Shortcodes.php on line 657

4 blocks of errors have this code:
Notice: Trying to access array offset on value of type null in C:\wamp64\www\Joomla-3\plugins\content\themlercontent\lib\Shortcodes.php on line 668

Along with the issues trying to use Joomla 4 with Themler, this is just putting me over the top in frustration.

I just updated a local installation of Joomla 3.10.2 and Themler (now) v523. Everything was fine until I changed the width of the template pages to "Fluid" from "Wide". That's nothing new for me to do to a template. But today, after I did that I got all sorts of errors (see attached). There are 6 blocks of errors. 2 blocks of errors have this code: Notice: Trying to access array offset on value of type null in C:\wamp64\www\Joomla-3\plugins\content\themlercontent\lib\Shortcodes.php on line 657 4 blocks of errors have this code: Notice: Trying to access array offset on value of type null in C:\wamp64\www\Joomla-3\plugins\content\themlercontent\lib\Shortcodes.php on line 668 Along with the issues trying to use Joomla 4 with Themler, this is just putting me over the top in frustration.
Vote to pay developers attention to this features or issue.
29 Comments
Order By: Standard | Newest
kloemich2
7 Posts
kloemich2 posted this 21 September 2021

I have the same error. ;(((

I have the same error. ;(((
tmgarrison
97 Posts
tmgarrison posted this 21 September 2021

I have the same error. ;(((

Glad to know I'm not crazy or ranting for nothing.
I'm done being nice to Themler due to the number of issues as of late, in addition to not being able to use Themler anymore.

> I have the same error. ;((( Glad to know I'm not crazy or ranting for nothing. I'm done being nice to Themler due to the number of issues as of late, in addition to not being able to use Themler anymore.
Support Team
Support Team posted this 22 September 2021

Hello,

Could you please add a line to the .htaccess file to allow direct access for Themler:

"templates/manifests" alongside the existing "templates/"

Gina
Themler Support

Hello, Could you please add a line to the .htaccess file to allow direct access for Themler: "templates/manifests" alongside the existing "templates/<templatename>" Gina Themler Support
tmgarrison
97 Posts
tmgarrison posted this 22 September 2021

Hello Gina,

I can, and I'm fully capable. But I have to ask, why?

That doesn't seem very secure to start listing specific products access to htaccess.

This seems more like a "work-around" than a fix.

Hello Gina, I can, and I'm fully capable. But I have to ask, why? That doesn't seem very secure to start listing specific products access to htaccess. This seems more like a "work-around" than a fix.
tmgarrison
97 Posts
tmgarrison posted this 24 September 2021

Gina,

The only .htaccess file "I" have is in the root of my site. Well, there may be additional somewhere within Joomla. But the root has 1, and there is not one in templates.

The root htaccess has no mention of "templates/"

Did you mean the robots.txt? Although that does not have any mention of "templates/" either.

Can you provide some additional information, please?

Perhaps the developers were thinking about a WordPress site. This is Joomla on which I'm working.

Gina, The only .htaccess file "I" have is in the root of my site. Well, there may be additional somewhere within Joomla. But the root has 1, and there is not one in templates. The root htaccess has no mention of "templates/" Did you mean the robots.txt? Although that does not have any mention of "templates/" either. Can you provide some additional information, please? Perhaps the developers were thinking about a WordPress site. This is Joomla on which I'm working.
tmgarrison
97 Posts
tmgarrison posted this 24 September 2021

Kloemich2
I found a work-around just now.

Make your changes in Themler to widen the page, or whatever you were doing to the page as you would normally.
I'm presuming that instead of "Page" this is happening to "Post". However, it could be either.

Make the change(s), save the changes, then in Joomla, go to the page and edit the page with whatever editor you use, but view the article code - source (or HTML) - of that page.

Look for < p> [html] <> which could be there 1 or more times at the very top of the article AND at the bottom!
Remove anything that appears before or after your article that you know has nothing to do with your article.

Remove all of that code because it's nonsense that Themler spit into the page when you made the change(s).
Make sure the only thing in your article is what you know you want in the article.
Then save your article and you should be able to return to normal.

This is not the first time I've had Themler throw in that code to the article. But it's been a while. Working in a "live" site it may not throw errors you can see.
When working locally, those errors show quickly.

Kloemich2 I found a work-around just now. Make your changes in Themler to widen the page, or whatever you were doing to the page as you would normally. I'm presuming that instead of "Page" this is happening to "Post". However, it could be either. Make the change(s), save the changes, then in Joomla, go to the page and edit the page with whatever editor you use, but view the article code - source (or HTML) - of that page. Look for &lt; p&gt; [html] &lt;&gt; which could be there 1 or more times at the very top of the article AND at the bottom! Remove anything that appears before or after your article that you know has nothing to do with your article. Remove all of that code because it's nonsense that Themler spit into the page when you made the change(s). Make sure the only thing in your article is what you know you want in the article. Then save your article and you should be able to return to normal. This is not the first time I've had Themler throw in that code to the article. But it's been a while. Working in a "live" site it may not throw errors you can see. When working locally, those errors show quickly.

Last edited 24 September 2021 by tmgarrison

Support Team
Support Team posted this 24 September 2021

The issue was reported to the developers.

Thank you for sharing the articles.
In general, removing the code from Themler from the article may destroy its layout if it is specifically was made in Themler. But if it is just a text, then no issue should arise.

Gina
Themler Support

The issue was reported to the developers. Thank you for sharing the articles. In general, removing the code from Themler from the article may destroy its layout if it is specifically was made in Themler. But if it is just a text, then no issue should arise. Gina Themler Support
aspidblazer
2 Posts
aspidblazer posted this 10 December 2021

Application Cache Error event: Invalid or missing manifest origin trial token: https://contp.ru/templates/manifests/manifest.php?ver=544
Такая ошибка в консоли браузера. В чем проблема? joomla 3.10.3

Application Cache Error event: Invalid or missing manifest origin trial token: https://contp.ru/templates/manifests/manifest.php?ver=544 Такая ошибка в консоли браузера. В чем проблема? joomla 3.10.3

Last edited 10 December 2021 by aspidblazer

Support Team
Support Team posted this 13 December 2021

Виталий,
Попробуйте почистить кеш в браузере или app cache , как описано тут https://answers.themler.io/articles/13879/themler-desktop-troubleshooting#clear_cache https://answers.themler.io/articles/14063/how-to-clear-appcache

Если у вас осталась версия темы, сохраненная локально, сделайте еще раз экспорт и переустановите ее.

Gina
Themler Support

Виталий, Попробуйте почистить кеш в браузере или app cache , как описано тут https://answers.themler.io/articles/13879/themler-desktop-troubleshooting#clear_cache https://answers.themler.io/articles/14063/how-to-clear-appcache Если у вас осталась версия темы, сохраненная локально, сделайте еще раз экспорт и переустановите ее. Gina Themler Support
jeanmarcvieux
45 Posts
jeanmarcvieux posted this 25 May 2022

Hello,
I've reported this issue many month ago.

The first answer was to export the theme in desktop app and then reinstall it. I have the last update v.547
Since couple of weeks this tip is no more possible. This issue remains even after template reinstallation.
I did a ticket Nettie help me but I'm waiting for the right answer
Jean-Marc

Hello, I've reported this issue many month ago. The first answer was to export the theme in desktop app and then reinstall it. I have the last update v.547 Since couple of weeks this tip is no more possible. This issue remains even after template reinstallation. I did a ticket Nettie help me but I'm waiting for the right answer Jean-Marc

Last edited 25 May 2022 by jeanmarcvieux

philippe.t
31 Posts
philippe.t posted this 15 June 2022

hello,

I have the same problem
see for wordpress:
https://answers.themler.io/questions/215500/bug-after-update-wordpress-shortcodes-effects

and now i resolve by myself: the issue file is Shortcodes.php
yourpath/plugins/content/themlercontent/lib/Shortcodes.php

in my side is in lign:
657 i replace by

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

668

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

721

            $target = isset($target['info']) ?? $target['info'];

785

        $return = isset($control['info']['css'][$responsive]) ?? preg_match('/' . $prop .  '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]);
    return $return; //preg_match('/' . $prop .  '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]);

814,815,816,817

            $style .= isset($targetControl['info']['css']['css'], $targetControl['info']['css']['css_md'], $targetControl['info']['css']['css_sm'], $targetControl['info']['css']['css_xs']) ?? self::print_all_css(array(
            ''    => self::_effectCssCurrent($targetControl['info']['css']['css'], $groups, $skipProps),
            '_md' => self::_effectCssCurrent($targetControl['info']['css']['css_md'], $groups, $skipProps),
            '_sm' => self::_effectCssCurrent($targetControl['info']['css']['css_sm'], $groups, $skipProps),
            '_xs' => self::_effectCssCurrent($targetControl['info']['css']['css_xs'], $groups, $skipProps)
        ), '', $currentControl['info']['selector']);

1099

        $target_class = isset($target_control["className"]) ?? $target_control["className"];

in finally, if you have this error message:
Warning: Trying to access array offset on value of type null in....

correct by php code

 isset( $variable['something']) 

if index'something' does not exist

hope to help someone

regards
philippe

hello, I have the same problem see for wordpress: https://answers.themler.io/questions/215500/bug-after-update-wordpress-shortcodes-effects and now i resolve by myself: the issue file is Shortcodes.php yourpath/plugins/content/themlercontent/lib/Shortcodes.php in my side is in lign: 657 i replace by if (isset($item['info']['type']) && $item['info']['type'] === ShortcodesEffects::HTML_EFFECT) { 668 if (isset($item['info']['className']) && strpos($item['info']['className'], $name) === 0) { 721 $target = isset($target['info']) ?? $target['info']; 785 $return = isset($control['info']['css'][$responsive]) ?? preg_match('/' . $prop . '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]); return $return; //preg_match('/' . $prop . '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]); 814,815,816,817 $style .= isset($targetControl['info']['css']['css'], $targetControl['info']['css']['css_md'], $targetControl['info']['css']['css_sm'], $targetControl['info']['css']['css_xs']) ?? self::print_all_css(array( '' => self::_effectCssCurrent($targetControl['info']['css']['css'], $groups, $skipProps), '_md' => self::_effectCssCurrent($targetControl['info']['css']['css_md'], $groups, $skipProps), '_sm' => self::_effectCssCurrent($targetControl['info']['css']['css_sm'], $groups, $skipProps), '_xs' => self::_effectCssCurrent($targetControl['info']['css']['css_xs'], $groups, $skipProps) ), '', $currentControl['info']['selector']); 1099 $target_class = isset($target_control["className"]) ?? $target_control["className"]; in finally, if you have this error message: Warning: **Trying to access array offset on value of type null in**.... correct by php code isset( $variable['something']) if index'something' does not exist hope to help someone regards philippe
@ITS
72 Posts
@ITS posted this 03 December 2022

I have the same Warnings on one Joomla 3.10.11 Page - on other Page not.

/plugins/content/themlercontent/lib/Shortcodes.php on line 657
/plugins/content/themlercontent/lib/Shortcodes.php on line 657
/plugins/content/themlercontent/lib/Shortcodes.php on line 668
/plugins/content/themlercontent/lib/Shortcodes.php on line 668
/plugins/content/themlercontent/lib/Shortcodes.php on line 784
/plugins/content/themlercontent/lib/Shortcodes.php on line 784
/plugins/content/themlercontent/lib/Shortcodes.php on line 784
/plugins/content/themlercontent/lib/Shortcodes.php on line 813
/plugins/content/themlercontent/lib/Shortcodes.php on line 814
/plugins/content/themlercontent/lib/Shortcodes.php on line 815
/plugins/content/themlercontent/lib/Shortcodes.php on line 816
/plugins/content/themlercontent/lib/Shortcodes.php on line 784
/plugins/content/themlercontent/lib/Shortcodes.php on line 813
/plugins/content/themlercontent/lib/Shortcodes.php on line 814
/plugins/content/themlercontent/lib/Shortcodes.php on line 815
/plugins/content/themlercontent/lib/Shortcodes.php on line 816

I try to fix from @philippe.t in the shortcodes.php
But i can't replace all Lines.. by the Line 668 i became this Error

0 - syntax error, unexpected 'private' (T_PRIVATE), expecting while (T_WHILE)

Replace the other but without Replace 668 is new Warning on Line 669
And also again Warnings on the Line

[edit]
Ok it's done.
In my shortcodes.php is your Line 668 on the Line 669.
I replace this on line 669 and all the warnings were gone.

Line 668 + 669 (original)
$item = self::_stackPrevControl($item);
if (strpos($item['info']['className'], $name) === 0) {

I have the same Warnings on one Joomla 3.10.11 Page - on other Page not. /plugins/content/themlercontent/lib/Shortcodes.php on line 657 /plugins/content/themlercontent/lib/Shortcodes.php on line 657 /plugins/content/themlercontent/lib/Shortcodes.php on line 668 /plugins/content/themlercontent/lib/Shortcodes.php on line 668 /plugins/content/themlercontent/lib/Shortcodes.php on line 784 /plugins/content/themlercontent/lib/Shortcodes.php on line 784 /plugins/content/themlercontent/lib/Shortcodes.php on line 784 /plugins/content/themlercontent/lib/Shortcodes.php on line 813 /plugins/content/themlercontent/lib/Shortcodes.php on line 814 /plugins/content/themlercontent/lib/Shortcodes.php on line 815 /plugins/content/themlercontent/lib/Shortcodes.php on line 816 /plugins/content/themlercontent/lib/Shortcodes.php on line 784 /plugins/content/themlercontent/lib/Shortcodes.php on line 813 /plugins/content/themlercontent/lib/Shortcodes.php on line 814 /plugins/content/themlercontent/lib/Shortcodes.php on line 815 /plugins/content/themlercontent/lib/Shortcodes.php on line 816 I try to fix from @philippe.t in the shortcodes.php But i can't replace all Lines.. by the Line 668 i became this Error 0 - syntax error, unexpected 'private' (T_PRIVATE), expecting while (T_WHILE) Replace the other but without Replace 668 is new Warning on Line 669 And also again Warnings on the Line [edit] Ok it's done. In my shortcodes.php is your Line 668 on the Line 669. I replace this on line 669 and all the warnings were gone. Line 668 + 669 (original) $item = self::_stackPrevControl($item); if (strpos($item['info']['className'], $name) === 0) {

Last edited 03 December 2022 by @ITS

Medienagentur
15 Posts
Medienagentur posted this 07 February 2023

hello,

I have the same problem
see for wordpress:
https://answers.themler.io/questions/215500/bug-after-update-wordpress-shortcodes-effects

and now i resolve by myself: the issue file is Shortcodes.php
yourpath/plugins/content/themlercontent/lib/Shortcodes.php

in my side is in lign:
657 i replace by

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

668

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

721

            $target = isset($target['info']) ?? $target['info'];

785

      $return = isset($control['info']['css'][$responsive]) ?? preg_match('/' . $prop .  '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]);
    return $return; //preg_match('/' . $prop .  '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]);

814,815,816,817

            $style .= isset($targetControl['info']['css']['css'], $targetControl['info']['css']['css_md'], $targetControl['info']['css']['css_sm'], $targetControl['info']['css']['css_xs']) ?? self::print_all_css(array(
            ''    => self::_effectCssCurrent($targetControl['info']['css']['css'], $groups, $skipProps),
            '_md' => self::_effectCssCurrent($targetControl['info']['css']['css_md'], $groups, $skipProps),
            '_sm' => self::_effectCssCurrent($targetControl['info']['css']['css_sm'], $groups, $skipProps),
            '_xs' => self::_effectCssCurrent($targetControl['info']['css']['css_xs'], $groups, $skipProps)
        ), '', $currentControl['info']['selector']);

1099

        $target_class = isset($target_control["className"]) ?? $target_control["className"];

in finally, if you have this error message:
Warning: Trying to access array offset on value of type null in....

correct by php code

 isset( $variable['something']) 

if index'something' does not exist

hope to help someone

regards
philippe

Thank you phillipe,

same issue today here with line 657 an 668.
Replacing it solved the problem.

Dear themler team please fix it!
I'am still waiting since 2 weeks for an answer on another open question from you Nettie.

Sincerely, Udo

> hello, > > I have the same problem > see for wordpress: > https://answers.themler.io/questions/215500/bug-after-update-wordpress-shortcodes-effects > > and now i resolve by myself: the issue file is Shortcodes.php > yourpath/plugins/content/themlercontent/lib/Shortcodes.php > > in my side is in lign: > 657 i replace by > > if (isset($item['info']['type']) && $item['info']['type'] === ShortcodesEffects::HTML_EFFECT) { > 668 > > if (isset($item['info']['className']) && strpos($item['info']['className'], $name) === 0) { > 721 > > $target = isset($target['info']) ?? $target['info']; > > 785 > > $return = isset($control['info']['css'][$responsive]) ?? preg_match('/' . $prop . '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]); > return $return; //preg_match('/' . $prop . '\s*:\s*(' . join('|', $values) . ');/', $control['info']['css'][$responsive]); > > 814,815,816,817 > > $style .= isset($targetControl['info']['css']['css'], $targetControl['info']['css']['css_md'], $targetControl['info']['css']['css_sm'], $targetControl['info']['css']['css_xs']) ?? self::print_all_css(array( > '' => self::_effectCssCurrent($targetControl['info']['css']['css'], $groups, $skipProps), > '_md' => self::_effectCssCurrent($targetControl['info']['css']['css_md'], $groups, $skipProps), > '_sm' => self::_effectCssCurrent($targetControl['info']['css']['css_sm'], $groups, $skipProps), > '_xs' => self::_effectCssCurrent($targetControl['info']['css']['css_xs'], $groups, $skipProps) > ), '', $currentControl['info']['selector']); > > 1099 > > $target_class = isset($target_control["className"]) ?? $target_control["className"]; > > in finally, if you have this error message: > Warning: **Trying to access array offset on value of type null in**.... > > correct by php code > > isset( $variable['something']) > > if index'something' does not exist > > hope to help someone > > regards > philippe Thank you phillipe, same issue today here with line 657 an 668. Replacing it solved the problem. Dear themler team please fix it! I'am still waiting since 2 weeks for an answer on another open question from you Nettie. Sincerely, Udo
gptnederlands.nl
1 Posts
gptnederlands.nl posted this 25 January 2024

It seems like you're encountering errors after updating Themler on Joomla 3.10.2. Troubleshooting such issues can be tricky, but don't worry! You can try reaching out to Themler support for assistance. Sometimes, small adjustments in settings or configurations can resolve unexpected errors. Stay patient and keep exploring solutions. ChatGPT wishes you success in resolving this issue swiftly!

It seems like you're encountering errors after updating Themler on Joomla 3.10.2. Troubleshooting such issues can be tricky, but don't worry! You can try reaching out to Themler support for assistance. Sometimes, small adjustments in settings or configurations can resolve unexpected errors. Stay patient and keep exploring solutions. [ChatGPT][1] wishes you success in resolving this issue swiftly! [1]: https://gptnederlands.nl/
topaitrends.io
1 Posts
topaitrends.io posted this 09 December 2024

Explore the world of artificial intelligence with TopAITrends.io. Our platform offers a comprehensive directory of over 1859 AI tools, updated daily to ensure you stay on top of the latest trends. From automation to creative tools, we cover it all. With personalized recommendations and expert insights, we make AI accessible and easy to understand. Join us to explore the future of AI and discover how it can transform your projects and ideas.

Explore the world of artificial intelligence with [TopAITrends.io][1]. Our platform offers a comprehensive directory of over 1859 AI tools, updated daily to ensure you stay on top of the latest trends. From automation to creative tools, we cover it all. With personalized recommendations and expert insights, we make AI accessible and easy to understand. Join us to explore the future of AI and discover how it can transform your projects and ideas. [1]: https://topaitrends.io/
seointern878
2 Posts
seointern878 posted this 24 December 2024

ChatGPT in Korea is your platform for native people, designed to enhance daily communication, education, and business operations. With advanced AI capabilities, it offers real-time translation, supports language learning, and improves customer service. By catering to the unique needs of Koreans, ChatGPT ensures that users can effortlessly navigate complex tasks, access personalized learning experiences, and receive instant, accurate information. Embrace ChatGPT to experience seamless interaction and innovative solutions tailored specifically for the Korean community.

ChatGPT in Korea is your platform for native people, designed to enhance daily communication, education, and business operations. With advanced AI capabilities, it offers real-time translation, supports language learning, and improves customer service. By catering to the unique needs of Koreans, [ChatGP][1]T ensures that users can effortlessly navigate complex tasks, access personalized learning experiences, and receive instant, accurate information. Embrace ChatGPT to experience seamless interaction and innovative solutions tailored specifically for the Korean community. [1]: https://www.xn--gpt-1n4o.co/
chatgptjapan
2 Posts
chatgptjapan posted this 30 December 2024

Chat GPT is an AI chat system designed specifically for the Japanese market, addressing the unique challenges of the Japanese language. It expertly handles the complexities of grammar and scripts like Hiragana, Katakana, and Kanji, ensuring accurate and culturally appropriate communication. Ideal for both personal and business use, ChatGPT adapts to formal and informal contexts, making it a versatile tool for professional communication, language learning, and daily interactions. This AI system seamlessly blends advanced technology with Japanese cultural nuances, making it an essential resource for effective communication in Japan.

Chat GPT is an AI chat system designed specifically for the Japanese market, addressing the unique challenges of the Japanese language. It expertly handles the complexities of grammar and scripts like Hiragana, Katakana, and Kanji, ensuring accurate and culturally appropriate communication. Ideal for both personal and business use, [ChatGPT][1] adapts to formal and informal contexts, making it a versatile tool for professional communication, language learning, and daily interactions. This AI system seamlessly blends advanced technology with Japanese cultural nuances, making it an essential resource for effective communication in Japan. [1]: https://chatgptjapan.org/
jerrysem9
1 Posts
jerrysem9 posted this 01 January 2025

Simplifica tu día a día con ChatGPT en Español. Esta herramienta avanzada entiende y genera texto en español, permitiéndote obtener información rápida y precisa, ya sea para estudios, trabajo o entretenimiento. ¡Prueba la inteligencia artificial en tu idioma!

Simplifica tu día a día con [ChatGPT en Español][1]. Esta herramienta avanzada entiende y genera texto en español, permitiéndote obtener información rápida y precisa, ya sea para estudios, trabajo o entretenimiento. ¡Prueba la inteligencia artificial en tu idioma! [1]: https://chatgptspanish.org/
chatgptjapan
2 Posts
chatgptjapan posted this 07 January 2025

Well done on the post! Chat GPT can be really helpful for retrieving relevant details.

Well done on the post! [url=https://chatopenai.jp/]Chat GPT[/url] can be really helpful for retrieving relevant details.
seointern878
2 Posts
seointern878 posted this 27 January 2025

Your post nailed it! ChatGPT is on my radar now.

Your post nailed it! [ChatGPT][1] is on my radar now. [1]: https://chatgptsvenska.org/
You must log in or register to leave comments