by (530 points)
closed by
When trying to install SeoToaster via URL/install:

[Fri Apr 04 11:00:51.410863 2025] [php:error] [pid 156214] [client 197.184.85.19:51154] PHP Fatal error:  
Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Zend_Registry given in
/var/www/html/gwdcrm/seotoaster_core/library/Zend/Registry.php:206\nStack trace:

\n#0 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application/Bootstrap/BootstrapAbstract.php(533):
Zend_Registry->offsetExists()

\n#1 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application/Bootstrap/BootstrapAbstract.php(552): Zend_Application_Bootstrap_BootstrapAbstract->hasResource()

\n#2 /var/www/html/gwdcrm/install/installer/Bootstrap.php(7): Zend_Application_Bootstrap_BootstrapAbstract->getResource()

\n#3 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application/Bootstrap/BootstrapAbstract.php(681):
Bootstrap->_initDoctype()

\n#4 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application/Bootstrap/BootstrapAbstract.php(634): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource()

\n#5 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application/Bootstrap/BootstrapAbstract.php(598): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap()

\n#6 /var/www/html/gwdcrm/seotoaster_core/library/Zend/Application.php(355):
Zend_Application_Bootstrap_BootstrapAbstract->bootstrap()

\n#7 /var/www/html/gwdcrm/install/index.php(34): Zend_Application->bootstrap()

\n#8 {main}\n  thrown in /var/www/html/gwdcrm/seotoaster_core/library/Zend/Registry.php on line 206

-----------------------
My current setup:  Ubuntu 22.04 -> Apache2 -> Webmin

Running php processes:
135066    root                    04/03/2025    php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
135091    www-data    04/03/2025    php-fpm: pool www
135092    www-data    04/03/2025    php-fpm: pool www

-----------------------
SeoToaster install directory:

var/www/html/gwdcrm

-----------------------
.htaccess file contains:

RewriteEngine On
php_flag log_errors On
php_flag ignore_repeated_errors On
php_value error_log /var/www/html/gwdcrm/error.log

-----------------------
php.ini files and locations:

etc/php/7.4/cgi/php.ini
etc/php/7.4/cli/php.ini
etc/php/7.4/fpm/php.ini

-----------------------
etc/php/7.4/cgi + cli + fpm /php.ini - zend reference lines:

348  ;  Enables or disables the circular reference collector.
349  ;  http://php.net/zend.enable-gc
350     zend.enable_gc = On

364  ;  Allows to include or exclude arguments from stack traces generated for exceptions.
365  ;  In production, it is recommended to turn this setting on to prohibit the output
366  ;  of sensitive information in stack traces
367  ;  Default: Off
368     zend.exception_ignore_args = On

-----------------------
Could you please assist me to resolve?
closed with the note: resolved

1 Answer

by (5.4k points)
Hello Nyx,

Have you downloaded the latest version of the package from here?
https://www.seotoaster.com/downloads/seotoaster.v3.9.0.zip

Could you creat a file info.php in the root of the directory with the following content and provide us with a link to it.

<?php
phpinfo();

Best regards, Pavel.
by (530 points)
I have managed to resolve this issue by removing other php versions, reloading modules in my web server, and enabling extensions.
...