I can't upgrade v3.10.11 both to 3.10.12 o Joomla 4
Pressing the link: "Components / Joomla Update" I obtain in both cases the same error:
Php 8.1.26
Joomla Platform 13.1.0 Stable
The line n. 71 of the file is:
$updateQueries = $this->getUpdateQueries($updateFiles);
and the called Function is:
Pressing the link: "Components / Joomla Update" I obtain in both cases the same error:
Joomla! 3.10.11 Stable [ Daraja]Joomla\CMS\Schema\ChangeSet::getUpdateQueries(): Argument #1 ($sqlfiles) must be of type array, bool given, called in /home/psmatesl/domains/psmate.com/public_html/libraries/src/Schema/ChangeSet.php on line 71
Php 8.1.26
Joomla Platform 13.1.0 Stable
The line n. 71 of the file is:
$updateQueries = $this->getUpdateQueries($updateFiles);
and the called Function is:
Code:
private function getUpdateQueries(array $sqlfiles){// Hold results as array of objects$result = array();foreach ($sqlfiles as $file){$buffer = file_get_contents($file);// Create an array of queries from the sql file$queries = \JDatabaseDriver::splitSql($buffer);foreach ($queries as $query){$fileQueries = new \stdClass;$fileQueries->file = $file;$fileQueries->updateQuery = $query;$result[] = $fileQueries;}}return $result;}
Statistics: Posted by ezio2000 — Mon Dec 25, 2023 11:45 pm