Regular Labs home page
ParseError in...
Open site navigation
Search
the forum...
Type to search...
Other Bug Reports questions
Forum
ParseError in libraries/regularlabs/src/Extension.php when running Akeeba Backup through Cronjob
Dario
1 year 1 month ago
Dario
1 year 1 month ago
Hi,
not sure if there's a problem on Akeeba Backup, Cronjob or Regularlabs side. But the Cronjob was running well for years and after the latest Regularlabs updates (Advanced Module Manager and Modules Anywhere) it is broken.
/usr/local/bin/php /home/XXXXX/public_html/XXXXX.ch/cli/joomla.php akeeba:backup:take --quiet
ParseError {#556
#message: "syntax error, unexpected '=>' (T_DOUBLE_ARROW)"
#code: 0
#file: "./public_html/XXXXX.ch/libraries/regularlabs/src/Extension.php"
#line: 60
trace: {
./public_html/XXXXX.ch/libraries/regularlabs/src/Extension.php:60 {
Composer\Autoload\includeFile($file)
› {
› 'module' => 'mod_' . $element,
› 'component' => 'com_' . $element,
}
./public_html/XXXXX.ch/libraries/vendor/composer/ClassLoader.php:344 { …}
./public_html/XXXXX.ch/libraries/src/Autoload/ClassLoader.php:59 { …}
Joomla\CMS\Autoload\ClassLoader->loadClass() {}
./public_html/XXXXX.ch/libraries/regularlabs/src/Language.php:36 { …}
./public_html/XXXXX.ch/plugins/system/regularlabs/regularlabs.php:36 { …}
./public_html/XXXXX.ch/libraries/src/Extension/ExtensionManagerTrait.php:217 { …}
./public_html/XXXXX.ch/libraries/src/Extension/ExtensionManagerTrait.php:160 { …}
./public_html/XXXXX.ch/libraries/src/Extension/ExtensionManagerTrait.php:99 { …}
./public_html/XXXXX.ch/libraries/src/Plugin/PluginHelper.php:232 { …}
./public_html/XXXXX.ch/libraries/src/Plugin/PluginHelper.php:192 { …}
./public_html/XXXXX.ch/libraries/src/Application/ConsoleApplication.php:256 { …}
./public_html/XXXXX.ch/cli/joomla.php:76 { …}
}
}
Thanks for having a look at this, thx!
Peter van Westen
ADMIN
1 year 1 month ago
Peter van Westen
ADMIN
1 year 1 month ago
What Joomla and php version are you running on?
Please post a rating at the
Joomla! Extensions Directory
Dario
1 year 1 month ago
Dario
1 year 1 month ago
Joomla
4.3.4
PHP
8.1.22
Peter van Westen
ADMIN
1 year 1 month ago
Peter van Westen
ADMIN
1 year 1 month ago
File should be fine.
Double-check the php version in the Joomla setup: Administrator > System > System Information
Please post a rating at the
Joomla! Extensions Directory
Peter van Westen
ADMIN
1 year 1 month ago
Peter van Westen
ADMIN
1 year 1 month ago
Also, try reinstalling the latest version of the Regular Labs extension you have installed.
Please post a rating at the
Joomla! Extensions Directory
Dario
1 year 1 month ago
Dario
1 year 1 month ago
Thx for having a look into the file. Double checked the versions:
Joomla
Joomla! 4.3.4 Stable [ Bora ] 22-August-2023 16:00 GMT
PHP
8.1.22
Reinstalled the modules. But still getting the same error.
Maybe I can ask Akeeba for further help.
Dario
1 year 1 month ago
Dario
1 year 1 month ago
When running the backup manually, without Cronjob it works well.
Therefor I've to check other options with the Cronjob. Strange, because the job really worked well over months or years...
Peter van Westen
ADMIN
1 year 1 month ago
Peter van Westen
ADMIN
1 year 1 month ago
That means your cronjobs are running on a lower php version. You will have to ask your host to fix that.
As you can see in the requirements and changelogs of the Regular Labs extensions, the latest versions require php 8.1 or higher.
Please post a rating at the
Joomla! Extensions Directory
Dario
1 year 1 month ago
Dario
1 year 1 month ago
That's it. I'm going to contact my hoster. Thanks a lot
You can only post on this forum if you
log in
Close site navigation
Log in
General stuff
Pricing
FAQs
Blog
Support Forum
Latest Releases
Development Releases
Help Translate
About
Contact
Extensions
AMM
Advanced Module Manager
AA
Articles Anywhere
AF
Articles Field
BFL
Better Frontend Link
CC
Cache Cleaner
CFJ
CDN for Joomla!
CC
Conditional Content
CT
Content Templater
DBR
DB Replacer
EP
Email Protector
EM
Extension Manager
GEO
GeoIP
IPL
IP Login
KS
Keyboard Shortcuts
M
Modals
MA
Modules Anywhere
QI
Quick Index
R
ReReplacer
S
Sliders
S
Snippets
S
Sourcerer
T
Tabs
T&A
Tabs & Accordions
T
Tooltips
What? Nothing!
Legal stuff
Terms & Conditions
Privacy Policy & Disclaimer
Username
Forgot your username?
Password
Forgot your password?
Log in
Register