Solved Templates

Template onepage and PHP8 migration

Asked by Guido garzia 3 years ago Last activity 3 years ago

Hello, now I have a problem with 7.4.33 bug and send spam . So I had to switch to 8.0.

Now onepage have a compatibility with 8.0 but I can't install the new version.

I have Pagebuilder 5, I try to reinstall the new templete but when i swith I have bad gatway.

I try to delete the templete and install again but when I try ir i have this error:
Can't delete the last style of a template.

So i can't switch to 8.0 and stop the send spam with php.

Can you help me?

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Guido garzia

Where is the error shown? Please share the error location and I will check your issue.

Best regards

Guido garzia Asked this

the error is error 500 th site go downs.

The error I posted are showed by the debugger

Ofi Khan Staff

Sorry, I am still unable to get the issue. Is it on the page preview or in the backend? Console has no error on the page preview.

3 more replies

Guido garzia Asked this

ParseError:
Unclosed '{' on line 72

at /var/www/vhosts/coopluppolo.it/httpdocs/templates/shaper_onepage/error.php:103
at Joomla\CMS\Document\HtmlDocument->_loadTemplate()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:796)
at Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:613)
at Joomla\CMS\Document\HtmlDocument->parse()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:631)
at Joomla\CMS\Document\HtmlDocument->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/ErrorDocument.php:139)
at Joomla\CMS\Document\ErrorDocument->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:78)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Exception/ExceptionHandler.php:121)
at Joomla\CMS\Exception\ExceptionHandler::render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Exception/ExceptionHandler.php:72)
at Joomla\CMS\Exception\ExceptionHandler::handleException()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/CMSApplication.php:322)
at Joomla\CMS\Application\CMSApplication->execute()
(/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php:61)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/index.php:32)

Guido garzia Asked this

TypeError:
set_time_limit(): Argument #1 ($seconds) must be of type int, string given

at /var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Filesystem/Folder.php:546
at set_time_limit()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Filesystem/Folder.php:546)
at Joomla\CMS\Filesystem\Folder::_items()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Filesystem/Folder.php:521)
at Joomla\CMS\Filesystem\Folder::folders()
(/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/parser/addon-parser.php:198)
at AddonParser::getAddons()
(/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/parser/addon-parser.php:1224)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/parser/addon-parser.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/builder/classes/addon.php:28)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/builder/classes/addon.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/components/com_sppagebuilder/helpers/autoload.php:42)
at BuilderAutoload::loadClasses()
(/var/www/vhosts/coopluppolo.it/httpdocs/plugins/system/sppagebuilder/sppagebuilder.php:28)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/plugins/system/sppagebuilder/sppagebuilder.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Extension/ExtensionManagerTrait.php:217)
at Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Extension/ExtensionManagerTrait.php:160)
at Joomla\CMS\Application\CMSApplication->loadExtension()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Extension/ExtensionManagerTrait.php:99)
at Joomla\CMS\Application\CMSApplication->bootPlugin()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Plugin/PluginHelper.php:232)
at Joomla\CMS\Plugin\PluginHelper::import()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Plugin/PluginHelper.php:192)
at Joomla\CMS\Plugin\PluginHelper::importPlugin()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/CMSApplication.php:744)
at Joomla\CMS\Application\CMSApplication->initialiseApp()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/SiteApplication.php:635)
at Joomla\CMS\Application\SiteApplication->initialiseApp()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/SiteApplication.php:226)
at Joomla\CMS\Application\SiteApplication->doExecute()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/CMSApplication.php:293)
at Joomla\CMS\Application\CMSApplication->execute()
(/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php:61)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/index.php:32)

Odrareg Pepper

Hi Guido
You may try this

Change default template for other one than Onepage it could be casiopea or any joomla default, then go to:

Extensions> Extension manager> Manage> Tick Onepage template (to be deleted)> Click "Uninstall".

Ensure that the template to be un-installed is not a default.

Then install the new version of Onepage

As for the /com_sppagebuilder/parser/addon-parser.php') errors

I solve it by going back to SPP v3.8.10
In extensions disable all SP Pagebuilder items
Then renaming the com_sppagebuilder folder to com_sppagebuilder-v5-8
And then install the SSP 3.8.10

I know its not the best but i guess you are in a hurry

Guido garzia Asked this

I have tried have bad gatway error and

ParseError:
Unclosed '{' on line 72

at /var/www/vhosts/coopluppolo.it/httpdocs/templates/shaper_onepage/error.php:103
at Joomla\CMS\Document\HtmlDocument->_loadTemplate()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:796)
at Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:613)
at Joomla\CMS\Document\HtmlDocument->parse()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/HtmlDocument.php:631)
at Joomla\CMS\Document\HtmlDocument->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Document/ErrorDocument.php:139)
at Joomla\CMS\Document\ErrorDocument->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:78)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Exception/ExceptionHandler.php:121)
at Joomla\CMS\Exception\ExceptionHandler::render()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Exception/ExceptionHandler.php:72)
at Joomla\CMS\Exception\ExceptionHandler::handleException()
(/var/www/vhosts/coopluppolo.it/httpdocs/libraries/src/Application/CMSApplication.php:322)
at Joomla\CMS\Application\CMSApplication->execute()
(/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php:61)
at require_once('/var/www/vhosts/coopluppolo.it/httpdocs/includes/app.php')
(/var/www/vhosts/coopluppolo.it/httpdocs/index.php:32)

Log in to reply.