Error in variable undefined in PHP program (in Drupal 7.22)
Using $BASE_PATH in some template files will prompt this type of error, and finally solve the problem by modifying the modification in php.ini as shown in the figure.
Will
; error_reporting = E_ALL | E_STRICT
modify to
; error_reporting = E_ALL | E_STRICT
ERROR_REPORTING = E_ALL & ~E_NOTICE
