Closed sirfranz closed 2 years ago
Here are more details:
The error at login is:
Fatal error: Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale(): string in /var/www/web301/html/core/vendor/symfony/translation/TranslatorInterface.php on line 69
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="http://www..de/manager/media/style/default/style.css" />
<style type="text/css">body { padding:10px; } td {font:inherit;}</style>
</head><body>
<b>Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale(): string</b><br />
Error information | |
---|---|
File | /var/www/web301/html/core/vendor/symfony/translation/TranslatorInterface.php |
Line | 69 |
Basic info | |
---|---|
REQUEST_URI | http://www..de/manager/?a=0 |
Referer | http://www..de/manager/ |
User Agent | you do not have to know |
IP | you do not have to know |
Current time | 2022-01-06 15:07:09 |
Benchmarks | |
---|---|
MySQL | 0.0000 s (0 Requests) |
PHP | 0.1367 s |
Total | 0.1367 s |
Memory | 7.60269165039 mb |
Backtrace |
---|
EvolutionCMS\ExceptionHandler->handleShutdown() on line |
EvolutionCMS\ExceptionHandler->fatalExceptionFromError(array $var1, 0) core/src/ExceptionHandler.php on line 50 |
I wonder how you updated. I don't seem to have that issue after updating from 3.1.7 and with the manager Update button.
I have used the manager update-button, too.
Which manager-language do you use?
Netherlands / NL.
Hey I have the same issue now on an other server..
On front I see Error and also when trying to log in. Manager loginpage is visible. Stuck at: https://my--site.nl/install/index.php?action=install /install/ is still reachable.
Could this be a plugin problem?
I can try on a very clean version I have without many plugins.
I have talked with a developer about this and he sees the issue. Tomorrow it will be fixed. Don't know whats the issue thow.
Strangely it worked on a site I updated yesterday on a different host.
Many thanks!
Try install fresh 3.1.8 on php 7.4. all ok Install fresh 3.1.7 and after update to 3.1.8 (by click abate button) all ok
Can you write more info about server
Notice: Undefined index: installmode in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 35
Notice: Undefined index: databasehost in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 39
Notice: Undefined index: database_type in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 40
Notice: Undefined index: database_collation in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 43
Notice: Undefined index: database_connection_charset in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 45
Notice: Undefined index: database_connection_method in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 46
Notice: Undefined index: database_name in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 47
Notice: Undefined index: cmsadmin in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 48
Notice: Undefined index: cmsadminemail in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 49
Notice: Undefined index: cmspassword in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 50
Notice: Undefined index: managerlanguage in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 51
Notice: Undefined index: database_type in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 79
Notice: Undefined index: databasehost in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 79
Notice: Undefined index: database_name in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 79
Notice: Undefined index: database_name in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 857
Notice: Undefined index: database_name in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 857
Notice: Undefined variable: output in /home/xxx/domains/xxx.nl/public_html/install/src/controllers/install.php on line 858
mislukt! could not find driver
ps. Did a downgrade with the installer to 3.1.7 and the site works again.
Try install fresh 3.1.8 on php 7.4. all ok Install fresh 3.1.7 and after update to 3.1.8 (by click abate button) all ok
Can you write more info about server
Many thanks. Here are some of my server-data (3.1.7 working; 3.1.8 does not work):
EVO-Version 3.1.7 Veröffentlichungsdatum Oct 06, 2021 (evo published date) PHP Version 7.4.3 Zugriffsberechtigung Aktiviert (access privileg atctive) Server-Zeit 16:48:32 (server time) Ortszeit 16:48:32 (locale time) Server-Zeitverschiebung 0 h (server time shift) Datenbank-Name xxxx (db name) Datenbank-Server localhost (db hoset) Datenbank-Version 5.7.25 (db version = mysql version) Datenbank-Zeichensatz latin1 (charset) Datenbank-Kollations-Zeichensatz latin1_german1ci (collation) Tabellen-Präfix modx (table prefix) MODX_BASE_PATH /var/www/xyz/html/ MODX_BASE_URL / MODX_MANAGER_URL https://www.xyz.de/manager/ MODX_MANAGER_PATH /var/www/xyz/html/manager/ MODX_SITE_URL https://www.xyz.de/
System | Linux alfa3202 4.9.44-040944-generic #201708161731 SMP Wed Aug 16 21:34:20 UTC 2017 x86_64 -- | -- Build Date | Feb 25 2020 17:21:29 Server API | CGI/FastCGI Virtual Directory Support | disabled Configuration File (php.ini) Path | /etc/php7.4/cgi Loaded Configuration File | /etc/apache2/confixx_phpini/xyz/1/php.ini Scan this dir for additional .ini files | /etc/php7.4/cgi/conf.d Additional .ini files parsed | /etc/php7.4/cgi/conf.d/alfa.ini, /etc/php7.4/cgi/conf.d/ext.ini, /etc/php7.4/cgi/conf.d/loader.ini, /etc/php7.4/cgi/conf.d/timezone.ini PHP API | 20190902 PHP Extension | 20190902 Zend Extension | 320190902 Zend Extension Build | API320190902,NTS PHP Extension Build | API20190902,NTS Debug Build | no Thread Safety | disabled Zend Signal Handling | enabled Zend Memory Manager | enabled Zend Multibyte Support | provided by mbstring IPv6 Support | enabled DTrace Support | disabled Registered PHP Streams | php, file, glob, data, http, ftp, compress.bzip2, https, ftps, compress.zlib, phar, zip Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2 Registered Stream Filters | string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, zlib.*PHP Version | 7.4.3 |
Directive | Local Value | Master Value |
---|---|---|
allow_url_fopen | On | On |
allow_url_include | Off | Off |
arg_separator.input | & | & |
arg_separator.output | & | & |
auto_append_file | no value | no value |
auto_globals_jit | On | On |
auto_prepend_file | no value | no value |
browscap | no value | no value |
default_charset | UTF-8 | UTF-8 |
default_mimetype | text/html | text/html |
disable_classes | no value | no value |
disable_functions | no value | no value |
display_errors | On | On |
display_startup_errors | Off | Off |
doc_root | no value | no value |
docref_ext | no value | no value |
docref_root | no value | no value |
enable_dl | On | On |
enable_post_data_reading | On | On |
error_append_string | no value | no value |
error_log | no value | no value |
error_prepend_string | no value | no value |
error_reporting | 22519 | 24567 |
expose_php | Off | Off |
extension_dir | /opt/php/7.4.3/lib/php/20190902 | /opt/php/7.4.3/lib/php/20190902 |
file_uploads | On | On |
hard_timeout | 2 | 2 |
highlight.comment | #FF8000 | #FF8000 |
highlight.default | #0000BB | #0000BB |
highlight.html | #000000 | #000000 |
highlight.keyword | #007700 | #007700 |
highlight.string | #DD0000 | #DD0000 |
html_errors | On | On |
ignore_repeated_errors | Off | Off |
ignore_repeated_source | Off | Off |
ignore_user_abort | Off | Off |
implicit_flush | Off | Off |
include_path | .:/opt/php/7.4.3/share/pear | .:/opt/php/7.4.3/share/pear |
input_encoding | no value | no value |
internal_encoding | no value | no value |
log_errors | Off | Off |
log_errors_max_len | 1024 | 1024 |
mail.add_x_header | On | On |
mail.force_extra_parameters | no value | no value |
mail.log | no value | no value |
max_execution_time | 30 | 30 |
max_file_uploads | 20 | 20 |
max_input_nesting_level | 64 | 64 |
max_input_time | 60 | 60 |
max_input_vars | 1000 | 1000 |
memory_limit | 128M | 128M |
open_basedir | no value | no value |
output_buffering | no value | no value |
output_encoding | no value | no value |
output_handler | no value | no value |
post_max_size | 64M | 64M |
precision | 12 | 12 |
realpath_cache_size | 4096K | 4096K |
realpath_cache_ttl | 120 | 120 |
register_argc_argv | On | On |
report_memleaks | On | On |
report_zend_debug | On | On |
request_order | no value | no value |
sendmail_from | no value | no value |
sendmail_path | /usr/sbin/sendmail -t -i -f xyz@xyz.de | /usr/sbin/sendmail -t -i -f xyz@xyz.de |
serialize_precision | 100 | 100 |
short_open_tag | On | On |
SMTP | localhost | localhost |
smtp_port | 25 | 25 |
sys_temp_dir | no value | no value |
syslog.facility | LOG_USER | LOG_USER |
syslog.filter | no-ctrl | no-ctrl |
syslog.ident | php | php |
track_errors | Off | Off |
unserialize_callback_func | no value | no value |
upload_max_filesize | 64M | 64M |
upload_tmp_dir | /var/www/xyz/phptmp/ | /var/www/xyz/phptmp/ |
user_dir | no value | no value |
user_ini.cache_ttl | 300 | 300 |
user_ini.filename | .user.ini | .user.ini |
variables_order | EGPCS | EGPCS |
xmlrpc_error_number | 0 | 0 |
xmlrpc_errors | Off | Off |
zend.assertions | 1 | 1 |
zend.detect_unicode | On | On |
zend.enable_gc | On | On |
zend.exception_ignore_args | Off | Off |
zend.multibyte | Off | Off |
zend.script_encoding | no value | no value |
zend.signal_check | Off | Off |
Try install fresh 3.1.8 on php 7.4. all ok Install fresh 3.1.7 and after update to 3.1.8 (by click abate button) all ok
Can you write more info about server
Do you need direct access? I can grant you access to an test installation, so you can see it live.
Try install fresh 3.1.8 on php 7.4. all ok Install fresh 3.1.7 and after update to 3.1.8 (by click abate button) all ok Can you write more info about server
Do you need direct access? I can grant you access to an test installation, so you can see it live.
Send plz to dmi3yy@gmail.com will test tomorrow
Try install fresh 3.1.8 on php 7.4. all ok Install fresh 3.1.7 and after update to 3.1.8 (by click abate button) all ok Can you write more info about server
Do you need direct access? I can grant you access to an test installation, so you can see it live.
Hi will try update see some problem with files in core folder.
Just delete folder core/vendor and upload from GitHub by hand and all work
this happens if the archive on the server is not unpacked correctly
Many Thanks to you! All works!
Hi there,
when I try to update to 3.1.8 I get this error:
https://www.this-domain-is-hidden.de/install/index.php?action=install
Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale(): string File: /var/www/web301/html/core/vendor/symfony/translation/TranslatorInterface.php Line: 69 Source: Parser / Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale(): string - Idle (unknown) #1. EvolutionCMS\ExceptionHandler->handleShutdown(), on line #2. EvolutionCMS\ExceptionHandler->fatalExceptionFromError(array $var1, 0), core/src/ExceptionHandler.php on line 50