Open the Template not possible - Joomla 3.9.10 PHP 7.4

kunze
18 Posts
kunze posted this 05 March 2021

Hello Community,
Unfortunately I can no open the template and got the following error. What can I do here?

Warning: Invalid argument supplied for foreach() in /XXXXX/library/Designer/LogFormatter.php on line 8
[PHP_ERROR]{"message":"\n\nOS: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux\nPHP: 7.4.10\nerror handler: Array and string offset access syntax with curly braces is deprecated\nArray\n(\n [file] => /XXXXX/libraries/vendor/composer/../joomla/filesystem/src/Path.php\n)\n Callstack: \n -> include()\n -> Composer\Autoload\includeFile('/XXXXXXX/libraries/vendor/composer/../joomla/filesystem/src/Path.php')\n -> Composer\Autoload\ClassLoader::loadClass('Joomla\Filesystem\Path')\n -> JClassLoader::loadClass('Joomla\Filesystem\Path')\n -> spl_autoload_call('Joomla\Filesystem\Path')\n -> Joomla\Filesystem\Folder::create('/

XXXXX

/templates/XXXXX/plugins/')\n -> Joomla\Archive\Zip::extractNative('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> Joomla\Archive\Zip::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> Joomla\Archive\Archive::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> JArchive::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> JFormFieldPlugins::_checkPlugins('XXXXX')\n -> JFormFieldPlugins::getInput()\n -> Joomla\CMS\Form\FormField::renderField()\n -> include('/XXXXX/layouts/joomla/edit/fieldset.php')\n -> Joomla\CMS\Layout\FileLayout::render(TemplatesViewStyle(...) { ... })\n -> Joomla\CMS\Layout\LayoutHelper::render('joomla.edit.fieldset', TemplatesViewStyle(...) { ... })\n -> include('/XXXXX/administrator/components/com_templates/views/style/tmpl/edit....')\n -> Joomla\CMS\MVC\View\HtmlView::loadTemplate(NULL)\n -> Joomla\CMS\MVC\View\HtmlView::display(NULL)\n -> TemplatesViewStyle::display()\n -> Joomla\CMS\MVC\Controller\BaseController::display()\n -> TemplatesController::display()\n -> Joomla\CMS\MVC\Controller\BaseController::execute('')\n -> require_once('/XXXXX/administrator/components/com_templates/templates.php')\n -> Joomla\CMS\Component\ComponentHelper::executeComponent('/XXXXX/administrator/components/com_templates/templates.php')\n -> Joomla\CMS\Component\ComponentHelper::renderComponent('com_templates')\n -> Joomla\CMS\Application\AdministratorApplication::dispatch()\n -> Joomla\CMS\Application\AdministratorApplication::doExecute()\n -> Joomla\CMS\Application\CMSApplication::execute()\n\n\n","type":"E_DEPRECATED","file":"/XXXXX/libraries/vendor/joomla/filesystem/src/Path.php","line":153}[PHP_ERROR]

Does anyone know this problem and can help?

Hello Community, Unfortunately I can no open the template and got the following error. What can I do here? Warning: Invalid argument supplied for foreach() in /XXXXX/library/Designer/LogFormatter.php on line 8 [PHP_ERROR]{"message":"\n\nOS: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux\nPHP: 7.4.10\nerror handler: Array and string offset access syntax with curly braces is deprecated\nArray\n(\n [file] => /XXXXX/libraries/vendor/composer/../joomla/filesystem/src/Path.php\n)\n Callstack: \n -> include()\n -> Composer\Autoload\includeFile('/XXXXXXX/libraries/vendor/composer/../joomla/filesystem/src/Path.php')\n -> Composer\Autoload\ClassLoader::loadClass('Joomla\\Filesystem\\Path')\n -> JClassLoader::loadClass('Joomla\\Filesystem\\Path')\n -> spl_autoload_call('Joomla\\Filesystem\\Path')\n -> Joomla\Filesystem\Folder::create('/ XXXXX ------------------------------------- /templates/XXXXX/plugins/')\n -> Joomla\Archive\Zip::extractNative('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> Joomla\Archive\Zip::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> Joomla\Archive\Archive::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> JArchive::extract('/XXXXX/templates/XXXXX/plugins/button.zip', '/XXXXX/templates/XXXXX/plugins/')\n -> JFormFieldPlugins::_checkPlugins('XXXXX')\n -> JFormFieldPlugins::getInput()\n -> Joomla\CMS\Form\FormField::renderField()\n -> include('/XXXXX/layouts/joomla/edit/fieldset.php')\n -> Joomla\CMS\Layout\FileLayout::render(TemplatesViewStyle(...) { ... })\n -> Joomla\CMS\Layout\LayoutHelper::render('joomla.edit.fieldset', TemplatesViewStyle(...) { ... })\n -> include('/XXXXX/administrator/components/com_templates/views/style/tmpl/edit....')\n -> Joomla\CMS\MVC\View\HtmlView::loadTemplate(NULL)\n -> Joomla\CMS\MVC\View\HtmlView::display(NULL)\n -> TemplatesViewStyle::display()\n -> Joomla\CMS\MVC\Controller\BaseController::display()\n -> TemplatesController::display()\n -> Joomla\CMS\MVC\Controller\BaseController::execute('')\n -> require_once('/XXXXX/administrator/components/com_templates/templates.php')\n -> Joomla\CMS\Component\ComponentHelper::executeComponent('/XXXXX/administrator/components/com_templates/templates.php')\n -> Joomla\CMS\Component\ComponentHelper::renderComponent('com_templates')\n -> Joomla\CMS\Application\AdministratorApplication::dispatch()\n -> Joomla\CMS\Application\AdministratorApplication::doExecute()\n -> Joomla\CMS\Application\CMSApplication::execute()\n\n\n","type":"E_DEPRECATED","file":"/XXXXX/libraries/vendor/joomla/filesystem/src/Path.php","line":153}[PHP_ERROR] Does anyone know this problem and can help?
Vote to pay developers attention to this features or issue.
9 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 05 March 2021

Hello,

Please try this way:
1. Import the theme in Themler desktop
2. Update it to the latest Themler version. You may need to update Beta update notifications in your profile for this.
3. Export the theme under a different name
4. Install the theme in your CMS.

Sincerely,
Nettie

Hello, Please try this way: 1. Import the theme in Themler desktop 2. Update it to the latest Themler version. You may need to update Beta update notifications in your profile for this. 3. Export the theme under a different name 4. Install the theme in your CMS. Sincerely, Nettie
kunze
18 Posts
kunze posted this 06 March 2021

Hi,

thanks for the hint. I've tried it, but unfortunately it still doesn't work.

Are there any other tips?

Sincerely
Martin

Hi, thanks for the hint. I've tried it, but unfortunately it still doesn't work. Are there any other tips? Sincerely Martin
Support Team
Support Team posted this 08 March 2021

Hello Martin,

Are you using theme of version 517?
If not, please attach your current exported theme.

Gina
Themler Support

Hello Martin, Are you using theme of version 517? If not, please attach your current exported theme. Gina Themler Support
kunze
18 Posts
Is Solution
kunze posted this 09 March 2021

I solved the problem. It was due to the Joomla version. After updating this, it worked. Many Thanks.

I solved the problem. It was due to the Joomla version. After updating this, it worked. Many Thanks.
workinfo1980
3 Posts
workinfo1980 posted this 09 March 2021

Hi Support Team

I really really need some help and guidance in getting my Themler working. I love Themler and everything was working perfectly until I decided to reinstall Themler (bad decision). I have few HTML templates designed using Themler and after the re-installation (downloaded and installed the latest version from the Themler website), none of the themes can be opened in the editor. I can see all my HTML templates in the Themler launch page but when I select any of the templates for editing it just end up in a white black page. When reinstalling the setup asked me if i want to keep or remove the CMS content, I selected the keep CMS content option

Attaching here the console error page. I have cleared the Chrome Cache as well but still its the same

Please please help....

Thanks
Kris

Hi Support Team I really really need some help and guidance in getting my Themler working. I love Themler and everything was working perfectly until I decided to reinstall Themler (*bad decision*). I have few HTML templates designed using Themler and after the re-installation (*downloaded and installed the latest version from the Themler website*), none of the themes can be opened in the editor. I can see all my HTML templates in the Themler launch page but when I select any of the templates for editing it just end up in a white black page. When reinstalling the setup asked me if i want to keep or remove the CMS content, I selected the keep CMS content option Attaching here the console error page. I have cleared the Chrome Cache as well but still its the same Please please help.... Thanks Kris
Support Team
Support Team posted this 09 March 2021

Hello,

Could you please try to rename the following folder into html-old and try to run Themler once again:

C:\ProgramData\Themler\hd_data\themler_themler_XXXXXXXXXX\html

This can help.

Sincerely,
Nettie

Hello, Could you please try to rename the following folder into **html-old** and try to run Themler once again: C:\ProgramData\Themler\hd_data\themler_themler_XXXXXXXXXX\html This can help. Sincerely, Nettie
workinfo1980
3 Posts
workinfo1980 posted this 10 March 2021

Hi Nettie

Thank you for your reply and instructions. I have renamed my local path (C:\ProgramData\Themler\hd_data\themler_1525116915\html) to html-old. Then I opened Themler and selected the HTML icon to see my templates, then a message pop-up saying "Themler HTML is installing" and got into the editor by creating a new template called Untitled on its own. Obviously I didn't see any of my previous projects so I closed Themler, went back to the html-old\themes folder and copied two of my template folders in to the new thml\themes folder and opened Themler and under HTML templates launch page I can see two icons created for the two templates I copied but selecting any of them still end up in blank white page :(

Surprisingly if I select the Untitled template then it successfully open in the editor but if i select any of the other two, it end up in white blank page

See photos attached, please help because if these can't be opened then all my other templates too will not open. I can't imagine having to create all my 50+ templates from the scratch :(

Thank you
Kris

Hi Nettie Thank you for your reply and instructions. I have renamed my local path (C:\ProgramData\Themler\hd_data\themler_1525116915\html) to html-old. Then I opened Themler and selected the HTML icon to see my templates, then a message pop-up saying "Themler HTML is installing" and got into the editor by creating a new template called Untitled on its own. Obviously I didn't see any of my previous projects so I closed Themler, went back to the html-old\themes folder and copied two of my template folders in to the new thml\themes folder and opened Themler and under HTML templates launch page I can see two icons created for the two templates I copied but selecting any of them still end up in blank white page :( Surprisingly if I select the Untitled template then it successfully open in the editor but if i select any of the other two, it end up in white blank page See photos attached, please help because if these can't be opened then all my other templates too will not open. I can't imagine having to create all my 50+ templates from the scratch :( Thank you Kris
workinfo1980
3 Posts
workinfo1980 posted this 10 March 2021

Hi Nettie
SOLVED
Amazing news! I got everything to work. Thanks to this forum, I did find few others having the same issue in this forum and few methods they tried. I went back to my local theme folder and compressed each template folder separately, opened Themler desktop, in the launch page top right Import Zip and my template opened in the editor as usual. Yay :)

Thanks
Kris

Hi Nettie SOLVED Amazing news! I got everything to work. Thanks to this forum, I did find few others having the same issue in this forum and few methods they tried. I went back to my local theme folder and compressed each template folder separately, opened Themler desktop, in the launch page top right Import Zip and my template opened in the editor as usual. Yay :) Thanks Kris
Support Team
Support Team posted this 10 March 2021

Hello Kris,

Thanks for letting us know. You have passed ahead of us - indeed, zip-compressing, importing and updating the existing themes would have been exactly what we would have recommended.
Please feel free to contact us in any other case.

Sincerely,
Nettie

Hello Kris, Thanks for letting us know. You have passed ahead of us - indeed, zip-compressing, importing and updating the existing themes would have been exactly what we would have recommended. Please feel free to contact us in any other case. Sincerely, Nettie
You must log in or register to leave comments