Skip to content
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

PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, int given #96

Open
lottaar opened this issue Apr 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lottaar
Copy link

lottaar commented Apr 23, 2023

Every now and then when using the MODX Manager the site crashes (get blank white pages) and I get the following in the server error log. It's solved by emptying the core/cache folder.

[Sun Apr 23 13:48:58.851043 2023] [proxy_fcgi:error] [pid 1633846] [client 217.X.X.X:X] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, int given in /var/www/vhosts/mysite.com/httpdocs/core/src/Revolution/modLexicon.php:242\nStack trace:\n#0 /var/www/vhosts/mysite.com/httpdocs/core/src/Revolution/modLexicon.php(242): array_merge()\n#1 /var/www/vhosts/mysite.com/httpdocs/core/components/seosuite/src/SeoSuite.php(122): MODX\\Revolution\\modLexicon->load()\n#2 /var/www/vhosts/mysite.com/httpdocs/core/components/seosuite/bootstrap.php(13): Sterc\\SeoSuite\\SeoSuite->__construct()\n#3 /var/www/vhosts/mysite.com/httpdocs/core/vendor/pimple/pimple/src/Pimple/Container.php(122): MODX\\Revolution\\modX->{closure}()\n#4 /var/www/vhosts/mysite.com/httpdocs/core/src/Revolution/Services/Container.php(29): Pimple\\Container->offsetGet()\n#5 /var/www/vhosts/mysite.com/httpdocs/core/cache/includes/elements/modx/revolution/modplugin/25.include.cache.php(4): MODX\\Revolution\\Services\\Container->get()\n#6...', referer: https://mysite.com/manager/?a=element/chunk/update&id=50

MODX 3.0.4-DEV, PHP 8.2.5, SEO Suite 3.1.2

@ilyautkin ilyautkin added the bug Something isn't working label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants