#ErrorException (E_NOTICE) Trying to access array offset on value of type null

30 messages · Page 1 of 1 (latest)

modest thunder
#

Update your project

sacred trench
#

How ?

#

/home/billtohs/public_html/app/vendor/egulias/email-validator/EmailValidator/Parser/Parser.php

#

If i update my php version to 7.4 i get this error /home/billtohs/public_html/app/vendor/egulias/email-validator/EmailValidator/Parser/Parser.php

modest thunder
#

That's not an error that's a file path

sacred trench
#

Yes and how to i fix that

modest thunder
#

You're asking how to fix a file path ... that makes no sense

sacred trench
#

I'm using a script on my website and the laravel version is old

#

if i update my php version to 8.0 or 8.1 i get this error This page isn’t working
domain.com is currently unable to handle this request.

HTTP ERROR 500

modest thunder
#

It sounds like you don't actually know how laravel or php works because you aren't giving an actual error message. You've said the http status code and a file path. Not an error message

#

Look in your error log

sacred trench
#

ErrorException (E_NOTICE)
Trying to access array offset on value of type null

#

ErrorException (E_NOTICE) Trying to access array offset on value of type null

modest thunder
#

Well now you know what the error is. You need to find out where in your code you're trying to access an array value when the array is null

woeful pagoda
#

@sacred trench The error is because you’re building on one version of PHP, and then deploying to a server that has a completely different version of PHP.

#

Your local development environment and production environment should have the same version of software (including PHP) to avoid errors like the above.

sacred trench
#

how do i change my admin passwords from phpmyadmin I can't remember my admin password my website is developed with laravel and i don't have contact with the script developer

modest thunder
#

you can't because passwords are hashed

sacred trench
#

Any help ?

#

I love the website script please i need help accessing the admin dashboard

#

I accessed phpmyadmin to try and reset it through there and tried updating my password using md5 & sh1 but still password wont work. Have no idea what other things I can try.

woeful pagoda
#

If you have access to the source code then change your password in a Tinker session.

sacred trench
#

sorry for asking but I'm fairly new to all this... Is this a location inside my cpanel where I create the file? Can you go in to a little bit more detail. Thanks!

woeful pagoda
sacred trench
#

I love the website so i bought the script

modest thunder
#

Seems like a poor choice. Looks like you should go hire a laravel developer

woeful pagoda
#

So you have access to the source code, yes?

sacred trench
#

yes