Jump to content

I was trying to install REDIS and I got HTTP500


DraganK

Recommended Posts

Hi! 

 

Please help. 

I was trying to install REDIS and I got  HTTP500.  No access to Backoffice either due the  HTTP500. 

Only access thru PLESK and SSH

 

Configuration: PS 8.1.2 /  PHP 8.1.31 / Ubuntu 22.04 

 

Log: 

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getQueryHash() on null in 

/var/www/vhosts/balc.com/httpdocs/classes/db/Db.php:596\nStack trace:\n#0 

/var/www/vhosts/balc.com/httpdocs/classes/shop/Shop.php(1364): DbCore->executeS()\n#1 

/var/www/vhosts/balc.com/httpdocs/classes/shop/Shop.php(355): ShopCore::findShopByHost()\n#2 

/var/www/vhosts/balc.com/httpdocs/config/config.inc.php(117):

ShopCore::initialize()\n#3 

/var/www/vhosts/balc.com/httpdocs/index.php(27):

require('...')\n#4 {main}\n thrown in 

/var/www/vhosts/balc.com/httpdocs/classes/db/Db.php on line 596', referer:

https://www.balc.com/productos-rebajados?resultsPerPage=99999&q=Marca-

web "balc".com is not real. 

 

db.php 596 is: 

   if ($use_cache && $this->is_cache_enabled && $array) {
            $this->last_query_hash = Cache::getInstance()->getQueryHash($sql);
            if (($result = Cache::getInstance()->get($this->last_query_hash)) !== false) {
                Cache::getInstance()->incrementQueryCounter($sql);
                $this->last_cached = true;

                return $result;
            }
        }

 

How to solve the problem? 

 

Thanks in advance! 

 

 

  • Like 1
Link to comment
Share on other sites

  • razaro changed the title to I was trying to install REDIS and I got HTTP500

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...