Get the most out of your Centmin Mod LEMP stack
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

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    10:22 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

    55,156
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+