Hi everyone,
I've just activated error reporting in the backend on my Joomla website and set it to development.
After that, I'm getting the following error when trying to access the front- and backend.
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1950
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1950
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1950
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1950
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1950
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 2026
Warning: session_name(): Cannot change session name when headers already sent in /libraries/joomla/session/handler/native.php on line 128
Warning: session_cache_limiter(): Cannot change cache limiter when headers already sent in /libraries/joomla/session/handler/native.php on line 235
Error: Failed to start application: Failed to start the session because headers have already been sent by "/libraries/joomla/database/driver.php" at line 1950.
Joomla 3.9.8
PHP 7.4
MySQL database
I already tried to disable error reporting in the config file, but this didn't solve the problem.
Labels |
Added:
?
|
The Joomla installation is an existing one, that I have updated today. After that, it ran without any errors. And then, after activating error reporting, the above error happend.
I just restored the Joomla site from a backup I created today. And tried to activate error reporting. After that, the same problem happens.
When I try to disable error reporting in the config file I don't have permission to update the file. I have to copy the content and create a new one. Then the site is working and no error occures.
My current Joomla version is 3.9.8
Yes, that what I thought, your installation was corrupted.
Try update again to 3.9.24. But upload update the files manually via FTP, then go to backend administrator/index.php?option=com_installer&view=database
and push "Database fix" button.
That sounds possible. In the backend it says that Joomla is up to date.
Before updating manually I will make a backup and the update manually.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-16 10:52:34 |
Closed_By | ⇒ | marco910 |
are you sure you have 3.9.24?
there no any code at these lines, that can cause error:
joomla-cms/libraries/joomla/database/driver.php
Lines 1945 to 1954 in 4a6f30e
It also may happen that your installation is corrupted.