Strange Behavior With Login

0

Registered 5 users, some users are working fine, like my account some others. But those who are heavily using this tool day after day face some strange issues.

When I create those users, for some period of time everything goes well, maybe a few days to a week. Then after the login, they have been forwarded to the /welcome.php. And customers see a white screen. Nothing HTTP ERROR 500

Here is the log:
DEBUG - 2023-01-09 17:56:13 --> UTF-8 Support Enabled
DEBUG - 2023-01-09 17:56:13 --> Global POST, GET and COOKIE data sanitized
ERROR - 2023-01-09 17:56:13 --> Severity: error --> Exception: array_merge(): Argument #2 must be of type array, bool given /home/elexxok/eatxxxxenjoy.com/stock/app/controllers/Welcome.php 36
DEBUG - 2023-01-09 17:56:16 --> UTF-8 Support Enabled
DEBUG - 2023-01-09 17:56:16 --> No URI present. Default controller set.
DEBUG - 2023-01-09 17:56:16 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2023-01-09 17:56:17 --> UTF-8 Support Enabled
DEBUG - 2023-01-09 17:56:17 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2023-01-09 17:56:17 --> Config file loaded: /home/elexxok/eatxxxxenjoy.com/stock/app/config/ion_auth.php
DEBUG - 2023-01-09 17:56:17 --> Unable to find validation rules
DEBUG - 2023-01-09 17:56:17 --> Total execution time: 0.0124

Question Resolved For: Simple Stock Manager 0 Votes 3 Answers 215 Views
Asked by Rakov Mihail 1 year ago

1

Answered by Mian Saleem 1 year ago

Hello,

Please try to change the line 36 of app/controllers/Welcome.php to

$AB = array_merge($a ?: [], $b ?: []);

Thank you

0

Answered by Rakov Mihail 1 year ago

Added, thanks! Changes seems didn't break anything ))) Will check with "broken" users, and reply soon.

0

Answered by Rakov Mihail 1 year ago

Resolved, thanks for the prompt reply!

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.