Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2569

Migrating and Upgrading to Joomla! 4.x • I can't upgrade v3.10.11

$
0
0
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:
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
Joomla! 3.10.11 Stable [ Daraja]
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



Viewing all articles
Browse latest Browse all 2569

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>