Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:litemage:troubleshooting:uninitialized-php-vars-injected-block [2016/05/09 15:17]
Long Hu
litespeed_wiki:cache:litemage:troubleshooting:uninitialized-php-vars-injected-block [2016/05/09 20:58]
Long Hu
Line 1: Line 1:
-====== ​Uninitialized PHP variables in injected blocks ​======+====== ​Footer failed to output for SNS themes ​======
  
-**Problem**:​ The footer ​template may fail to output for SNS themes+**Problem**:​ The footer ​failed ​to output for SNS themes
  
 **Cause**: ​ The customized themes references user initialized global PHP variables in injected blocks. When those ESI blocks render, null pointer errors occurs as those variables has been initialized earlier but the injected block has no way of recognizing them. In SNS case here it is due to the variable "​$var_snstheme"​ actually being initialized in the header block. **Cause**: ​ The customized themes references user initialized global PHP variables in injected blocks. When those ESI blocks render, null pointer errors occurs as those variables has been initialized earlier but the injected block has no way of recognizing them. In SNS case here it is due to the variable "​$var_snstheme"​ actually being initialized in the header block.
  • Admin
  • Last modified: 2017/05/08 19:22
  • by Lisa Clarke