Jump to content

How to resolve Translator->getCatalogueCachePath problem?


Recommended Posts

 

 

Log is :

#0 /usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(297): Symfony\Component\Trans
lation\Translator->getCatalogueCachePath('en-US')
#1 /usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(265): Symfony\Component\Trans
lation\Translator->initializeCacheCatalogue('en-US')
#2 /usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(241): Symfony\Component\Trans
lation\Translator->loadCatalogue('en-US')
#3 /usr/home/admin/domains/test.com/public_html/classes/Context.php(374): Symfony\Component\Translation\Translator->getCatalogue('en-US')
#4 /usr/home/admin/domains/test.com/public" while reading response header from upstream, client: , server: test.com, request: "GET /ins
tall/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.test.com"

First page view :

Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Translation\hash() in /usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:369 Stack trace: #0 
/usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(297): Symfony\Component\Translation\Translator->getCatalogueCachePath('en-US') #1 
/usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(265): Symfony\Component\Translation\Translator->initializeCacheCatalogue('en-US') #2 
/usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(241): 
Symfony\Component\Translation\Translator->loadCatalogue('en-US') #3 /usr/home/admin/domains/test.com/public_html/classes/Context.php(374): 
Symfony\Component\Translation\Translator->getCatalogue('en-US') #4 /usr/home/admin/domains/test.com/public_html/classes/Context.php(351): Con in 
/usr/home/admin/domains/test.com/public_html/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php on line 369

 

 

 

php version  and informations :

PHP 7.2.13 (cli) (built: Dec 23 2018 01:11:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader v10.2.4, Copyright (c) 2002-2018, by ionCube Ltd.


 

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
gd
imap
ionCube Loader
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
Reflection
session
SimpleXML
soap
SPL
standard
tokenizer
xml
xmlrpc
xmlwriter
zip
zlib

[Zend Modules]
the ionCube PHP Loader

What is the problem exactly?

Edited by fun_9990 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...