No Code Attached Yet
avatar jschmi102
jschmi102
8 Mar 2024

Steps to reproduce the issue

select "system->database" at admin backend

Expected result

should see info about db-structures

Actual result

reports "No problems" but got (php) warning:

Warning: Attempt to read property "schemapath" on null in C:\myjoomla\administrator\components\com_installer\src\Model\DatabaseModel.php on line 180

Warning: Trying to access array offset on value of type null in C:\myjoomla\administrator\components\com_installer\src\Model\DatabaseModel.php on line 180

System information (as much as possible)

php v8.2
mySQL V8.1

Additional comments

warnings are displayed beacuse of php-error reporting

avatar jschmi102 jschmi102 - open - 8 Mar 2024
avatar joomla-cms-bot joomla-cms-bot - change - 8 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Mar 2024
avatar alikon
alikon - comment - 9 Mar 2024

do you have any extensions?
can you check if they are compliant to https://docs.joomla.org/Manifest_files#Update_of_the_SQL_Schema

avatar jschmi102 jschmi102 - change - 9 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-09 09:22:33
Closed_By jschmi102
avatar jschmi102 jschmi102 - close - 9 Mar 2024
avatar jschmi102
jschmi102 - comment - 9 Mar 2024

hi,
Thanks for your hint - but finding the causer was a bit tricky:

  1. added "echo $folderTmp;" at line 170 of DatabaseModel.php to to find out what joomla is checking
  2. output pointed to a non existing file but indicated an extension I'had updated lastly
  3. uninstall/install this extension fixed the problem (reinstall did not help - i had to uninstall)

Add a Comment

Login with GitHub to post a comment