Welcome to Centmin Mod Community
Become a Member

Prestashop mod_rewrite not working ? getting "Undefined index" and "Trying to get property of non-object" php e

Discussion in 'Ecommerce / Shopping cart usage' started by Jota, Oct 28, 2016.

  1. Jota

    Jota Member

    76
    18
    8
    Oct 9, 2014
    Ratings:
    +20
    Local Time:
    1:12 PM
    Hi, I'm trying to make a Prestashop migration and all went more or less okay, but I'm having issues with mod_rewrite (system is saying that is not enabled) and also some PHP errors like this:

    Code:
    Notice: Undefined index: category in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Undefined index: category in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    
    Of course redirs and most of rewritten links are not working.

    Any tip ? thanks !
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:12 PM
    Nginx 1.13.x
    MariaDB 5.5