Access to theme editor

jeanmarcvieux
37 Posts
jeanmarcvieux posted this 27 May 2022

Hello,
I encouter an issue that I have never seen before (all my themler themes are involved).
Do you think Its on hosting side ?
PHP verion : 7.4
Joomla : 3.10
Themler : v.547

Did you already see this kind of issue ?

Best regards
Jean-Marc

Site
[PHP_ERROR]{"message":"\n\nOS: Linux webdb15.lwspanel.com 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64\nPHP: 7.4.29\nerror handler: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior\nArray\n(\n [path] => /htdocs/dev/mystery/cms/templates/untitled/plugins/button\n [mode] => 493\n [nested] => 0\n [parent] => /htdocs/dev/mystery/cms/templates/untitled/plugins\n [obd] => /HTDOCS:/htdocs:/var/www/intelartifice.fr/htdocs:/var/www/intelartifice.fr/tmp:/var/www/intelartifice.fr/exec_dir:/var/www/intelartifice.fr/php-session:/var/lib/lws/:/usr/base/var/lib/lws:/var/lib/apps/:/usr/base/var/lib/apps:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php:/etc/pki/tls/certs:/etc/ssl/certs:/var/www/intelartifice.fr/log/access.log:/var/www/intelartifice.fr/log/access.log:/var/www/intelartifice.fr/log/error.log:/var/www/intelartifice.fr/log/error.log\n [obdSeparator] => :\n [obdArray] => Array\n (\n [0] => /HTDOCS\n [1] => /htdocs\n [2] => /var/www/intelartifice.fr/htdocs\n [3] => /var/www/intelartifice.fr/tmp\n [4] => /var/www/intelartifice.fr/exec_dir\n [5] => /var/www/intelartifice.fr/php-session\n [6] => /var/lib/lws/\n [7] => /usr/base/var/lib/lws\n [8] => /var/lib/apps/\n [9] => /usr/base/var/lib/apps\n [10] => /htdocs\n [11] => /tmp\n [12] => /exec_dir\n [13] => /php-session\n [14] => /usr/share/php\n [15] => /etc/pki/tls/certs\n [16] => /etc/ssl/certs\n [17] => /var/www/intelartifice.fr/log/access.log\n [18] => /var/www/intelartifice.fr/log/access.log\n [19] => /var/www/intelartifice.fr/log/error.log\n [20] => /var/www/intelartifice.fr/log/error.log\n )\n\n [inBaseDir] => \n [test] => /HTDOCS\n)\n Callstack: \n -> strpos('/htdocs/dev/mystery/cms/templates/untitled/plugins/button', false)\n -> Joomla\Filesystem\Folder::create('/htdocs/dev/mystery/cms/templates/untitled/plugins/button')\n -> Joomla\Filesystem\File::write('/htdocs/dev/mystery/cms/templates/untitled/plugins//button/index.html', '

Hello, I encouter an issue that I have never seen before (all my themler themes are involved). Do you think Its on hosting side ? PHP verion : 7.4 Joomla : 3.10 Themler : v.547 Did you already see this kind of issue ? Best regards Jean-Marc Site [PHP_ERROR]{"message":"\n\nOS: Linux webdb15.lwspanel.com 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64\nPHP: 7.4.29\nerror handler: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior\nArray\n(\n [path] => \/htdocs\/dev\/mystery\/cms\/templates\/untitled\/plugins\/button\n [mode] => 493\n [nested] => 0\n [parent] => \/htdocs\/dev\/mystery\/cms\/templates\/untitled\/plugins\n [obd] => \/HTDOCS:\/htdocs:\/var\/www\/intelartifice.fr\/htdocs:\/var\/www\/intelartifice.fr\/tmp:\/var\/www\/intelartifice.fr\/exec_dir:\/var\/www\/intelartifice.fr\/php-session:\/var\/lib\/lws\/:\/usr\/base\/var\/lib\/lws:\/var\/lib\/apps\/:\/usr\/base\/var\/lib\/apps:\/htdocs:\/tmp:\/exec_dir:\/php-session:\/usr\/share\/php:\/etc\/pki\/tls\/certs:\/etc\/ssl\/certs:\/var\/www\/intelartifice.fr\/log\/access.log:\/var\/www\/intelartifice.fr\/log\/access.log:\/var\/www\/intelartifice.fr\/log\/error.log:\/var\/www\/intelartifice.fr\/log\/error.log\n [obdSeparator] => :\n [obdArray] => Array\n (\n [0] => \/HTDOCS\n [1] => \/htdocs\n [2] => \/var\/www\/intelartifice.fr\/htdocs\n [3] => \/var\/www\/intelartifice.fr\/tmp\n [4] => \/var\/www\/intelartifice.fr\/exec_dir\n [5] => \/var\/www\/intelartifice.fr\/php-session\n [6] => \/var\/lib\/lws\/\n [7] => \/usr\/base\/var\/lib\/lws\n [8] => \/var\/lib\/apps\/\n [9] => \/usr\/base\/var\/lib\/apps\n [10] => \/htdocs\n [11] => \/tmp\n [12] => \/exec_dir\n [13] => \/php-session\n [14] => \/usr\/share\/php\n [15] => \/etc\/pki\/tls\/certs\n [16] => \/etc\/ssl\/certs\n [17] => \/var\/www\/intelartifice.fr\/log\/access.log\n [18] => \/var\/www\/intelartifice.fr\/log\/access.log\n [19] => \/var\/www\/intelartifice.fr\/log\/error.log\n [20] => \/var\/www\/intelartifice.fr\/log\/error.log\n )\n\n [inBaseDir] => \n [test] => \/HTDOCS\n)\n Callstack: \n -> strpos('\/htdocs\/dev\/mystery\/cms\/templates\/untitled\/plugins\/button', false)\n -> Joomla\\Filesystem\\Folder::create('\/htdocs\/dev\/mystery\/cms\/templates\/untitled\/plugins\/button')\n -> Joomla\\Filesystem\\File::write('\/htdocs\/dev\/mystery\/cms\/templates\/untitled\/plugins\/\/button\/index.html', '
Vote to pay developers attention to this features or issue.
7 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 27 May 2022

Hello Jean-Marc,

What was changed before the issue appeared? Any plugin/component installed/updated, Joomla or PHP updated, server provider changed? Any manual changes in theme files?

Sincerely,
Nettie

Hello Jean-Marc, What was changed before the issue appeared? Any plugin/component installed/updated, Joomla or PHP updated, server provider changed? Any manual changes in theme files? Sincerely, Nettie
jeanmarcvieux
37 Posts
jeanmarcvieux posted this 27 May 2022

Hello Nettie,

Nope, nothing change. All site with themler on the server have the same issue.
I moved on of them and miracle no issue. I guess this server side, I asked to my hosting service, they don't understand too.

Anyway, I'm working on the other VM waiting I find the soluce.

Jean-Marc

Hello Nettie, Nope, nothing change. All site with themler on the server have the same issue. I moved on of them and miracle no issue. I guess this server side, I asked to my hosting service, they don't understand too. Anyway, I'm working on the other VM waiting I find the soluce. Jean-Marc
Support Team
Support Team posted this 30 May 2022

Hi Jean-Marc,

Please find the latest version of Themler for Joomla default theme attached. Please try installing it and let us know if the issue is reproducible with it as well.

Sincerely,
Nettie

Hi Jean-Marc, Please find the latest version of Themler for Joomla default theme attached. Please try installing it and let us know if the issue is reproducible with it as well. Sincerely, Nettie
jeanmarcvieux
37 Posts
jeanmarcvieux posted this 30 May 2022

Hello NEttie,
Thanks for the template updated. But finally i'm sure that is hosting side. I've migrated the site on two different environments and I didn't have any error.

I'll give you some news when my host is set.

Hello NEttie, Thanks for the template updated. But finally i'm sure that is hosting side. I've migrated the site on two different environments and I didn't have any error. I'll give you some news when my host is set.
Support Team
Support Team posted this 30 May 2022

Hi Jean-Marc,

Thanks for details. We will be waiting for your further results.

Sincerely,
Nettie

Hi Jean-Marc, Thanks for details. We will be waiting for your further results. Sincerely, Nettie
jeanmarcvieux
37 Posts
jeanmarcvieux posted this 31 May 2022

Hello Nettie,
My website host says it's template editor problem with some deprecated fonction.
Honestly I don't understand why on another host or VPS all goes well.
Anyway, I put here the message error with deprecated argument at the end of the message. May be could you have some more information and why not give me a solution.

THanks again

Site
[PHP_ERROR]{"message":"\n\nOS: Linux webdb15.lwspanel.com 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64\nPHP: 7.4.29\nerror handler: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior\nArray\n(\n [path] => /htdocs/dev/wellpharm/templates/untitled/plugins/button\n [mode] => 493\n [nested] => 2\n [parent] => /htdocs/dev/wellpharm/templates/untitled/plugins\n [obd] => /HTDOCS:/htdocs:/var/www/intelartifice.fr/htdocs:/var/www/intelartifice.fr/tmp:/var/www/intelartifice.fr/exec_dir:/var/www/intelartifice.fr/php-session:/var/lib/lws/:/usr/base/var/lib/lws:/var/lib/apps/:/usr/base/var/lib/apps:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php:/etc/pki/tls/certs:/etc/ssl/certs:/var/www/intelartifice.fr/log/access.log:/var/www/intelartifice.fr/log/access.log:/var/www/intelartifice.fr/log/error.log:/var/www/intelartifice.fr/log/error.log\n [obdSeparator] => :\n [obdArray] => Array\n (\n [0] => /HTDOCS\n [1] => /htdocs\n [2] => /var/www/intelartifice.fr/htdocs\n [3] => /var/www/intelartifice.fr/tmp\n [4] => /var/www/intelartifice.fr/exec_dir\n [5] => /var/www/intelartifice.fr/php-session\n [6] => /var/lib/lws/\n [7] => /usr/base/var/lib/lws\n [8] => /var/lib/apps/\n [9] => /usr/base/var/lib/apps\n [10] => /htdocs\n [11] => /tmp\n [12] => /exec_dir\n [13] => /php-session\n [14] => /usr/share/php\n [15] => /etc/pki/tls/certs\n [16] => /etc/ssl/certs\n [17] => /var/www/intelartifice.fr/log/access.log\n [18] => /var/www/intelartifice.fr/log/access.log\n [19] => /var/www/intelartifice.fr/log/error.log\n [20] => /var/www/intelartifice.fr/log/error.log\n )\n\n [inBaseDir] => \n [test] => /HTDOCS\n)\n Callstack: \n -> strpos('/htdocs/dev/wellpharm/templates/untitled/plugins/button', false)\n -> Joomla\Filesystem\Folder::create('/htdocs/dev/wellpharm/templates/untitled/plugins/button', 493)\n -> Joomla\Filesystem\Folder::create('/htdocs/dev/wellpharm/templates/untitled/plugins/button/language', 493)\n -> Joomla\Filesystem\Folder::create('/htdocs/dev/wellpharm/templates/untitled/plugins/button/language/en-GB')\n -> Joomla\Filesystem\File::write('/htdocs/dev/wellpharm/templates/untitled/plugins//button/language/en-GB/en-GB.plg_editors-xtd_themle...', 'PLG_EDITORS-XTD_THEMLERBUTTON=\"Button - Themler Content Editor\"\nPLG_EDITORS-XTD_THEMLERBUTTON_XML_DE...')\n -> Joomla\Archive\Zip::extractNative('/htdocs/dev/wellpharm/templates/untitled/plugins/button.zip', '/htdocs/dev/wellpharm/templates/untitled/plugins/')\n -> Joomla\Archive\Zip::extract('/htdocs/dev/wellpharm/templates/untitled/plugins/button.zip', '/htdocs/dev/wellpharm/templates/untitled/plugins/')\n -> Joomla\Archive\Archive::extract('/htdocs/dev/wellpharm/templates/untitled/plugins/button.zip', '/htdocs/dev/wellpharm/templates/untitled/plugins/')\n -> JArchive::extract('/htdocs/dev/wellpharm/templates/untitled/plugins/button.zip', '/htdocs/dev/wellpharm/templates/untitled/plugins/')\n -> JFormFieldPlugins::_checkPlugins('untitled')\n -> JFormFieldPlugins::getInput()\n -> Joomla\CMS\Form\FormField::renderField()\n -> include('/htdocs/dev/wellpharm/layouts/joomla/edit/fieldset.php')\n -> Joomla\CMS\Layout\FileLayout::render(TemplatesViewStyle(...) { ... })\n -> Joomla\CMS\Layout\LayoutHelper::render('joomla.edit.fieldset', TemplatesViewStyle(...) { ... })\n -> include('/htdocs/dev/wellpharm/administrator/components/com_templates/views/style/tmpl/edit.php')\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('/htdocs/dev/wellpharm/administrator/components/com_templates/templates.php')\n -> Joomla\CMS\Component\ComponentHelper::executeComponent('/htdocs/dev/wellpharm/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":"/htdocs/dev/wellpharm/libraries/vendor/joomla/filesystem/src/Folder.php","line":193}[PHP_ERROR]

Hello Nettie, My website host says it's template editor problem with some deprecated fonction. Honestly I don't understand why on another host or VPS all goes well. Anyway, I put here the message error with deprecated argument at the end of the message. May be could you have some more information and why not give me a solution. THanks again Site [PHP_ERROR]{"message":"\n\nOS: Linux webdb15.lwspanel.com 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64\nPHP: 7.4.29\nerror handler: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior\nArray\n(\n [path] => \/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button\n [mode] => 493\n [nested] => 2\n [parent] => \/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\n [obd] => \/HTDOCS:\/htdocs:\/var\/www\/intelartifice.fr\/htdocs:\/var\/www\/intelartifice.fr\/tmp:\/var\/www\/intelartifice.fr\/exec_dir:\/var\/www\/intelartifice.fr\/php-session:\/var\/lib\/lws\/:\/usr\/base\/var\/lib\/lws:\/var\/lib\/apps\/:\/usr\/base\/var\/lib\/apps:\/htdocs:\/tmp:\/exec_dir:\/php-session:\/usr\/share\/php:\/etc\/pki\/tls\/certs:\/etc\/ssl\/certs:\/var\/www\/intelartifice.fr\/log\/access.log:\/var\/www\/intelartifice.fr\/log\/access.log:\/var\/www\/intelartifice.fr\/log\/error.log:\/var\/www\/intelartifice.fr\/log\/error.log\n [obdSeparator] => :\n [obdArray] => Array\n (\n [0] => \/HTDOCS\n [1] => \/htdocs\n [2] => \/var\/www\/intelartifice.fr\/htdocs\n [3] => \/var\/www\/intelartifice.fr\/tmp\n [4] => \/var\/www\/intelartifice.fr\/exec_dir\n [5] => \/var\/www\/intelartifice.fr\/php-session\n [6] => \/var\/lib\/lws\/\n [7] => \/usr\/base\/var\/lib\/lws\n [8] => \/var\/lib\/apps\/\n [9] => \/usr\/base\/var\/lib\/apps\n [10] => \/htdocs\n [11] => \/tmp\n [12] => \/exec_dir\n [13] => \/php-session\n [14] => \/usr\/share\/php\n [15] => \/etc\/pki\/tls\/certs\n [16] => \/etc\/ssl\/certs\n [17] => \/var\/www\/intelartifice.fr\/log\/access.log\n [18] => \/var\/www\/intelartifice.fr\/log\/access.log\n [19] => \/var\/www\/intelartifice.fr\/log\/error.log\n [20] => \/var\/www\/intelartifice.fr\/log\/error.log\n )\n\n [inBaseDir] => \n [test] => \/HTDOCS\n)\n Callstack: \n -> strpos('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button', false)\n -> Joomla\\Filesystem\\Folder::create('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button', 493)\n -> Joomla\\Filesystem\\Folder::create('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button\/language', 493)\n -> Joomla\\Filesystem\\Folder::create('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button\/language\/en-GB')\n -> Joomla\\Filesystem\\File::write('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/\/button\/language\/en-GB\/en-GB.plg_editors-xtd_themle...', 'PLG_EDITORS-XTD_THEMLERBUTTON=\"Button - Themler Content Editor\"\nPLG_EDITORS-XTD_THEMLERBUTTON_XML_DE...')\n -> Joomla\\Archive\\Zip::extractNative('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button.zip', '\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/')\n -> Joomla\\Archive\\Zip::extract('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button.zip', '\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/')\n -> Joomla\\Archive\\Archive::extract('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button.zip', '\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/')\n -> JArchive::extract('\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/button.zip', '\/htdocs\/dev\/wellpharm\/templates\/untitled\/plugins\/')\n -> JFormFieldPlugins::_checkPlugins('untitled')\n -> JFormFieldPlugins::getInput()\n -> Joomla\\CMS\\Form\\FormField::renderField()\n -> include('\/htdocs\/dev\/wellpharm\/layouts\/joomla\/edit\/fieldset.php')\n -> Joomla\\CMS\\Layout\\FileLayout::render(TemplatesViewStyle(...) { ... })\n -> Joomla\\CMS\\Layout\\LayoutHelper::render('joomla.edit.fieldset', TemplatesViewStyle(...) { ... })\n -> include('\/htdocs\/dev\/wellpharm\/administrator\/components\/com_templates\/views\/style\/tmpl\/edit.php')\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('\/htdocs\/dev\/wellpharm\/administrator\/components\/com_templates\/templates.php')\n -> Joomla\\CMS\\Component\\ComponentHelper::executeComponent('\/htdocs\/dev\/wellpharm\/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":"\/htdocs\/dev\/wellpharm\/libraries\/vendor\/joomla\/filesystem\/src\/Folder.php","line":193}[PHP_ERROR]
Support Team
Support Team posted this 02 June 2022

Hello,

Most likely, it is related to PHP used on the server. Theoretically, you may try downgrading PHP to 7.3 or 7.2 there to see if there is any difference. On the other hand, Themler for Joomla 3.10 supports PHP 7.4, but some particular server settings may influence the issue...

Sincerely,
Nettie

Hello, Most likely, it is related to PHP used on the server. Theoretically, you may try downgrading PHP to 7.3 or 7.2 there to see if there is any difference. On the other hand, Themler for Joomla 3.10 supports PHP 7.4, but some particular server settings may influence the issue... Sincerely, Nettie
You must log in or register to leave comments