Join the community today
Register Now

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:
    1:22 AM
    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

    46,853
    10,629
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,497
    Local Time:
    8:22 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x