Bug #39637
closed
Fatal error: Cannot use string offset as an array in /home/user/public_html/ordner/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 1300
Added by Michal Idziorek over 12 years ago.
Updated almost 10 years ago.
Description
I get this when try to check for updates in the extensions manager.
Fatal error: Cannot use string offset as an array in /home/user/public_html/ordner/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 1300
Following fix works for me:
...
$temp1=$fetch[$lang];
$temp2=$temp1["md5"];
if($localmd5!=$temp2){
...
Please check, if the main repository is selected in the settings tab.
There seem to be some issues with some mirrors currently.
- Status changed from New to Needs Feedback
yes, it is selected indeed!
I have changed
if($localmd5!==$fetch[$lang]['md5']){
...
on line 1300 in typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php
to the lines already mentioned above:
$temp1=$fetch[$lang];
$temp2=$temp1["md5"];
if($localmd5!=$temp2){
and it works.
I got the same error while updating the language packages. Michal's fix also solved my problem.
I can confirm this from my end too. (TYPO3 4.7.4)
It is fetching the language for Fluid that stops the process.
Michal's fix works for me too.
Same here with TYPO3 4.5.19 on line 1244.
Michal's fix helped, but please use !== instead of !=.
Now only the language update for fluid aborts, but the process continues with the next extension.
Got the same issue in 4.7.2 on line 1300 and translation update also stops at Fluid-ext.
Can't make the changes in the file because I have no access to the source files.
Any solution at the horizon? Can I skip the fluid-update somehow?
Same with TYPO3 4.5.19, Fluid 1.3.0 and main repository:
Fatal error: Cannot use string offset as an array in /var/www/websites/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 1244
Michal's fix works, but fluid translation update fails
- Category set to Localization
- Status changed from Needs Feedback to Closed
- Assignee set to Steffen Gebert
- Target version set to 4.5.20
Duplicate of #40108, which has already been fixed.
I can confirm this from my end too. (TYPO3 4.7.4)
It is fetching the language for Fluid that stops the process.
Michal's fix works for me too.
www.batidosverdesyzumos.com
Also available in: Atom
PDF