New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning - Trying to access array offset on value of type null - PHP 7.4.0 #7776
Comments
+1 Same problem here |
Not sure if there are other issues in PHP 7.4 yet but I managed to fix this error (which for me was occurring in storage/vendor/scss.inc.php) by changing this line:
To this:
|
No missing column_left icons for you? :) |
Yes actually I realised the icons in the admin menu disappeared, and then ran into that problem with spacing which was causing css class names to merge together in some of the twig templates. Ended up here twigphp/Twig#3248 and then decided attempting to cradle Opencart into PHP 7.4 wasn't a good idea when they obviously just don't support it yet (or at least not in the version I'm using - v3.0.2.0). |
@condor2 your if and elseif conditions evaluate the same? |
I have found the same issue and I just done what @elanclarkson done as well and fixed the issue, |
I think the best solution is this: (and not from screenshot)
instead of this:
Work just fine |
Please can someone help me solve this issue??: Warning: Trying to access array offset on value of type null in /htdocs/wp-content/plugins/tuturn/templates/single-tuturn-instructor/education.php on line 39 |
What version of OpenCart are you reporting this for?
Master Branch
Describe the bug
This warning message is displayed on Error log using Php 7.4
PHP Notice: Trying to access array offset on value of type null in admin/controller/marketplace/extension.php on line 48
Same in vendor/leafo/scssphp/src/Compiler.php on line 5230
Server / Test environment (please complete the following information):
The text was updated successfully, but these errors were encountered: