RM
Asked
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
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
- MSAnsweredHello,
Please try to change the line 36 of `app/controllers/Welcome.php` to
```php
$AB = array_merge($a ?: [], $b ?: []);
```
Thank you - RMAnsweredAdded, thanks! Changes seems didn't break anything ))) Will check with "broken" users, and reply soon.
- RMAnsweredResolved, thanks for the prompt reply!
- Login to Reply