lsi23 Posted March 14, 2019 Share Posted March 14, 2019 Hola, buenos días. A ver si me podéis echar una mano. Me da este error la Web, es Prestashop 1.6. La página .......... no puede procesar esta solicitud ahora. HTTP ERROR 500 He mirado el error y es el siguiente; Fatal error: Interface 'Core_Foundation_Database_EntityInterface' not found in /mnt/web419/a0/32/57149432/htdocs/classes/ObjectModel.php on line 27 Cuál es la solución? No encuentro ese archivo. Gracias. Link to comment Share on other sites More sharing options...
lsi23 Posted March 18, 2019 Author Share Posted March 18, 2019 Hola, buenos días. A ver si me podéis echar una mano. Error. "La página no puede procesar esta solicitud ahora. HTTP ERROR 500" El error es el siguiente; Fatal error: Uncaught Error: [] operator not supported for strings in /mnt/web419/a0/32/57149432/htdocs/classes/db/DbQuery.php:96 Stack trace: #0 /mnt/web419/a0/32/57149432/htdocs/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /mnt/web419/a0/32/57149432/htdocs/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /mnt/web419/a0/32/57149432/htdocs/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /mnt/web419/a0/32/57149432/htdocs/classes/shop/Shop.php(397): ShopCore->__construct('1') #4 /mnt/web419/a0/32/57149432/htdocs/config/config.inc.php(114): ShopCore::initialize() #5 /mnt/web419/a0/32/57149432/htdocs/index.php(27): require('/mnt/web419/a0/...') #6 {main} thrown in /mnt/web419/a0/32/57149432/htdocs/classes/db/DbQuery.php on line 96 - El error está el la ínea 96 del script DbQuery.php como dice la línea de los logs. thrown in /mnt/web419/a0/32/57149432/htdocs/classes/db/DbQuery.php on line 96 - Esto es lo que hay en la línea 96. -------------------- 91 * @return DbQuery 92 */ 93 public function from($table, $alias = null) 94 { 95 if (!empty($table)) { 96 $this->query['from'][ ] = '`'._DB_PREFIX_.$table.'`'.($alias ? ' '.$alias : ''); 97 } 98 99 return $this; 100 } ------------------- Que texto hay que corregir? Gracias. Link to comment Share on other sites More sharing options...
tuk66 Posted March 19, 2019 Share Posted March 19, 2019 ¿Cuál es tu versión de PHP? Link to comment Share on other sites More sharing options...
lsi23 Posted March 20, 2019 Author Share Posted March 20, 2019 (edited) Hola. 7.2. Si sirve de algo, la opción PHP Boost está desactivada. Gracias. Edited March 20, 2019 by lsi23 (see edit history) Link to comment Share on other sites More sharing options...
Janett Posted March 20, 2019 Share Posted March 20, 2019 (edited) Prestashop 1.6 is not compatible with PHP 7.2, you have to use PHP 5.6 or upgrade Prestashop. I know Prestashop 1.7.5 is compatible with PHP 7.2 but not with PHP 7.3 🤯 Edited March 20, 2019 by Janett (see edit history) Link to comment Share on other sites More sharing options...
lsi23 Posted March 21, 2019 Author Share Posted March 21, 2019 Es la compatibilidad. Muchas gracias. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now