ssnobben ssnobben
Hi
I did a Akeeba backup and then restore it on a server with latest Joomla Akeeba and AMM versions. I got this error and also fix it and then also got this info when reinstall AMM. I have a picture but have no url and cant upload it here..
ParseError
in /home/scbljlzt/public_html/libraries/regularlabs/src/StringHelper.php (line 658)
653. {
654. $format = strtolower(str_replace('case', '', $format));
655.
656. return match ($format)
657. {
658. 'lower' => self::toLowerCase($string),
659. 'upper' => self::toUpperCase($string),
660. 'lcfirst', 'lower-first' => self::lowerCaseFirst($string),
661. 'ucfirst', 'upper-first' => self::upperCaseFirst($string),
662. 'title' => self::toTitleCase($string),
663. 'camel' => self::toCamelCase($string),
in /home/scbljlzt/public_html/libraries/vendor/composer/ClassLoader.php Composer\Autoload\includeFile (line 344)
ClassLoader->loadClass('RegularLabs\\Library\\StringHelper') in /home/scbljlzt/public_html/libraries/src/Autoload/ClassLoader.php (line 59)
ClassLoader->loadClass('RegularLabs\\Library\\StringHelper')
spl_autoload_call('RegularLabs\\Library\\StringHelper') in /home/scbljlzt/public_html/libraries/regularlabs/src/RegEx.php (line 176)
RegEx::preparePattern('#^com_#si', 'si', 'conditions') in /home/scbljlzt/public_html/libraries/regularlabs/src/RegEx.php (line 259)
RegEx::replace('^com_', '', 'conditions') in /home/scbljlzt/public_html/libraries/regularlabs/src/Parameters.php (line 34)
Parameters::getComponent('conditions') in /home/scbljlzt/public_html/administrator/components/com_conditions/src/Model/ItemModel.php (line 57)
ItemModel->__construct() in /home/scbljlzt/public_html/administrator/components/com_conditions/src/Api/Conditions.php (line 98)
Conditions->setConditionByExtensionItem('com_advancedmodules', 96) in /home/scbljlzt/public_html/plugins/system/advancedmodules/src/Helper.php (line 386)
Helper::pass(object(stdClass)) in /home/scbljlzt/public_html/plugins/system/advancedmodules/src/Helper.php (line 68)
Helper::prepareModuleList(array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass))) in /home/scbljlzt/public_html/plugins/system/advancedmodules/advancedmodules.php (line 124)
PlgSystemAdvancedModules->onPrepareModuleList(array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass))) in /home/scbljlzt/public_html/libraries/src/Plugin/CMSPlugin.php (line 284)
in /home/scbljlzt/public_html/libraries/vendor/joomla/event/src/Dispatcher.php -> Joomla\CMS\Plugin\{closure} (line 486)
Dispatcher->dispatch('onPrepareModuleList', object(Event)) in /home/scbljlzt/public_html/libraries/src/Application/EventAware.php (line 111)
WebApplication->triggerEvent('onPrepareModuleList', array(array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))) in /home/scbljlzt/public_html/libraries/src/Helper/ModuleHelper.php (line 369)
ModuleHelper::load() in /home/scbljlzt/public_html/libraries/src/Helper/ModuleHelper.php (line 88)
ModuleHelper::getModules('404') in /home/scbljlzt/public_html/libraries/src/Document/Renderer/Html/ModulesRenderer.php (line 49)
ModulesRenderer->render('404', array('name' => '404', 'style' => 'sp_xhtml'), null) in /home/scbljlzt/public_html/libraries/src/Document/HtmlDocument.php (line 566)
HtmlDocument->getBuffer('modules', '404', array('name' => '404', 'style' => 'sp_xhtml')) in /home/scbljlzt/public_html/libraries/src/Document/HtmlDocument.php (line 853)
HtmlDocument->_renderTemplate() in /home/scbljlzt/public_html/libraries/src/Document/HtmlDocument.php (line 638)
HtmlDocument->render(false, array('template' => 'investa', 'directory' => '/home/scbljlzt/public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/scbljlzt/public_html/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render(false, array('template' => 'investa', 'directory' => '/home/scbljlzt/public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/scbljlzt/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
HtmlRenderer->render(object(ParseError)) in /home/scbljlzt/public_html/libraries/src/Exception/ExceptionHandler.php (line 126)
ExceptionHandler::render(object(ParseError)) in /home/scbljlzt/public_html/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(ParseError)) in /home/scbljlzt/public_html/libraries/src/Application/CMSApplication.php (line 322)
CMSApplication->execute() in /home/scbljlzt/public_html/includes/app.php (line 61)
require_once('/home/scbljlzt/public_html/includes/app.php') in /home/scbljlzt/public_html/index.php (line 32)
ParseError
syntax error, unexpected '=>' (T_DOUBLE_ARROW)
ParseError
syntax error, unexpected '=>' (T_DOUBLE_ARROW)
in /home/scbljlzt/public_html/libraries/regularlabs/src/Extension.php (line 60)
55. {
56. $element = self::getElementByAlias($alias);
57.
58. $element = match ($element)
59. {
60. 'module' => 'mod_' . $element,
61. 'component' => 'com_' . $element,
62. default => $element,
63. };
64.
65. $db = DB::get();
in /home/scbljlzt/public_html/libraries/vendor/composer/ClassLoader.php Composer\Autoload\includeFile (line 344)
ClassLoader->loadClass('RegularLabs\\Library\\Extension') in /home/scbljlzt/public_html/libraries/src/Autoload/ClassLoader.php (line 59)
ClassLoader->loadClass('RegularLabs\\Library\\Extension')
spl_autoload_call('RegularLabs\\Library\\Extension') in /home/scbljlzt/public_html/libraries/regularlabs/src/Language.php (line 36)
Language::load('plg_system_regularlabs') in /home/scbljlzt/public_html/plugins/system/regularlabs/regularlabs.php (line 36)
require_once('/home/scbljlzt/public_html/plugins/system/regularlabs/regularlabs.php') in /home/scbljlzt/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 217)
CMSApplication->loadPluginFromFilesystem('regularlabs', 'system') in /home/scbljlzt/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 160)
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'regularlabs:system', '/home/scbljlzt/public_html/plugins/system/regularlabs') in /home/scbljlzt/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 99)
CMSApplication->bootPlugin('regularlabs', 'system') in /home/scbljlzt/public_html/libraries/src/Plugin/PluginHelper.php (line 232)
PluginHelper::import(object(stdClass), true, object(Dispatcher)) in /home/scbljlzt/public_html/libraries/src/Plugin/PluginHelper.php (line 192)
PluginHelper::importPlugin('system') in /home/scbljlzt/public_html/libraries/src/Application/CMSApplication.php (line 744)
CMSApplication->initialiseApp(array('language' => 'sv-SE')) in /home/scbljlzt/public_html/libraries/src/Application/SiteApplication.php (line 635)
SiteApplication->initialiseApp() in /home/scbljlzt/public_html/libraries/src/Application/SiteApplication.php (line 226)
SiteApplication->doExecute() in /home/scbljlzt/public_html/libraries/src/Application/CMSApplication.php (line 293)
CMSApplication->execute() in /home/scbljlzt/public_html/includes/app.php (line 61)
require_once('/home/scbljlzt/public_html/includes/app.php') in /home/scbljlzt/public_html/index.php (line 32)