Joomla 3.10.2 errors after themler update

tmgarrison
104 Posts
tmgarrison posted this 4 weeks ago

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.
7 Comments
Order By: Standard | Newest
kloemich2
7 Posts
kloemich2 posted this 4 weeks ago

I have the same error. ;(((

I have the same error. ;(((
tmgarrison
104 Posts
tmgarrison posted this 4 weeks ago

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 4 weeks ago

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
104 Posts
tmgarrison posted this 4 weeks ago

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
104 Posts
tmgarrison posted this 4 weeks ago

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
104 Posts
tmgarrison posted this 4 weeks ago

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 4 weeks ago by tmgarrison

Support Team
Support Team posted this 3 weeks ago

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
You must log in or register to leave comments