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.
Hello !
Today I updated 6 Joomla 5.4.0 sites to version 6.0.0 sucessfully (on all of them Akeeba Backup is installed)
When I run the update to the 7th site evrythiong went well until I called the frontend of my website
Instead of the homepage following error message appeared
Call to undefined method Joomla\Database\Mysqli\MysqliQuery::castAsChar()
My host and I investigated the issue and a member of support changed mysqli to mysql, telling me that mysqli is not supporting the function castAsChar()
Unfortunately this lead to another issue and I had to restore the backup of my version 5 site.
Nevertheless, I will want to update my website at some time, so I investigated further and found an article on your website regarding a very similiar case
Then I searched my installation of Akeeba backup for this string and found it in
/administrator/components/com_akeebabackup/vendor/akeeba/engine/engine/Driver/Query/Base.php wondering if this nay have caused the issue
/**
* Casts a value to a char.
*
* Ensure that the value is properly quoted before passing to the method.
*
* Usage:
* $query->select($query->castAsChar('a'));
*
* @param string $value The value to cast as a char.
*
* @return string Returns the cast value.
*/
public function castAsChar($value)
{
return $value;
}
As mentioned before, there was no issue updating the other sites, so probably it's not Akkeeba Backup which cazsed the issue.
It will also help if I can exclude it from the list of extensions which maybe cazsed the issue.
Thank You
P.S. I have no log file because site is restored to yesterdays state to keep it up and running.