Support

Akeeba Backup for Joomla!

#43322 Subject: akeeba:profile:copy fails with "Call to undefined method stdClass::getProperties()"

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by moira on Tuesday, 08 September 2026 02:41 CDT

mdr6273

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

System Task
system
The ticket information has been edited by Mike Richardson (mdr6273).

moira

You've found a genuine bug in akeeba:profile:copy.

The command always failed at the same point right after locating the profile to copy, which is why it fataled with that exact error on every run.

We've fixed this in development. You can test the fix with the following developer's release. This is an unofficial, alpha-quality build for testing only — please don't rely on it for a production backup without a backup of the site itself that you trust:

https://www.akeeba.com/download/akeebabackuppro-dev/10-4-1-dev202609080738-reve920cb08.html

This same build also fixes a related bug you may run into separately: akeeba:profile:modify and akeeba:profile:copy failing with a MySQL "Incorrect integer value" error unless --quickicon=1 was explicitly passed, and both commands silently blanking the profile's description when --description was left out. If you'd like more detail on that one, it's covered in our reply to your other ticket (43323).

Please let us know if this resolves the issue for you.

Technical information

  • Root cause: component/backend/src/CliCommands/ProfileCopy.php loaded the profile through the component's model, which returns a plain PHP stdClass object, then called getProperties() on it — a method that only exists on the underlying database table class, not on stdClass. That call was therefore always fatal.
  • Fixed by reading the loaded object's properties directly instead of calling a method that was never available on it.

Moira Fari

Support Specialist

🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!