i just got to check php7.4 and all of my code base and there seems to be some deprecated systax used by core joomla which causes error/notice messages to be shown (when error reporting enabled) which breaks session initalization which further breaks joomla execution.
these are notices before session is initilized
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 23
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 28
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 34
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 38
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 45
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 49
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 58
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 62
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 71
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/ord.php on line 81
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/joomla/string/src/phputf8/utils/validation.php on line 40
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/vendor/typo3/phar-stream-wrapper/src/PharStreamWrapper.php on line 479
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1956
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1956
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1956
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1956
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 1956
Deprecated: Array and string offset access syntax with curly braces is deprecated in /libraries/joomla/database/driver.php on line 2032
per my understanding of the problem, strings cannot be accessed with $str{1} but require to be accessed via $str[1]
i cannot get further since enabling error reporting breaks joomla and thus i cannot locate more of these now.
best regards, stan
no, this on the latest j3.9.11
or is php7.4 going to be added only for j4 and later ?
well, i just checked :
https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/joomla/string/src/phputf8/ord.php
vs
https://github.com/joomla-framework/string/blob/master/src/phputf8/ord.php
and it seems that the issue is fixed on "joomla framework" but not within the latest j3 version.
is there any reason for this ?
best regards, stan
Labels |
Added:
J3 Issue
|
thanks for Info. Please provide always System Informations.
libraries/joomla/database/driver.php
needs a patch similar to joomla-framework/database@486f073 (which I needed because the Framework apps that power parts of joomla.org
were failing their test suites on 7.4).
A new release of the joomla/string
package is needed then a composer update joomla/string
is needed for the CMS.
The PHAR wrapper is not PHP 7.4 ready yet, TYPO3/phar-stream-wrapper#49
Status | New | ⇒ | Discussion |
String package released as version 1.4.3
I will make PR for composer update of string package tonight Central European summer time. If someone else wants to do this earlier then let us know here so we don‘t do double work.
@richard67 There's already PR open #25601. I'll update it.
@franz-wohlkoenig I'd keep this open until Phar Stream Wrapper update is released.
Priority | Medium | ⇒ | Very low |
Closed_By | SharkyKZ | ⇒ | joomla-cms-bot |
Priority | Very low | ⇒ | Medium |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-30 07:01:38 |
Closed_By | ⇒ | SharkyKZ |
Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/25834
i guess J4?