[TYPO3] help with cache_pagesection / Call to a member function sL() on a non-object issues

Andrew Davis junk at avagraphique.com
Tue Oct 16 17:19:26 CEST 2007


Getting this error on the page that contains my plugin.

Fatal error: Call to a member function sL() on a non-object in [...]
/typo3conf/ext/tx_corecommerce/lib/class.tx_corecommerce_checkout.php
on line 397

It seems to be related to this bug
<http://bugs.typo3.org/view.php?id=5152&nbn=32>

to do with cache_pagesection being updated twice in 1 second.

The fixes noted on the bugtracker include som etyposcript. I added
this to my template, and it does not fix the issue:

[globalVar = TSFE:type = 0]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=0
[globalVar = TSFE:type = 1]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=1
[globalVar = TSFE:type = 2]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=2
[globalVar = TSFE:type = 3]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=3
[globalVar = TSFE:type = 4]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=4
[globalVar = TSFE:type = 5]
temp.nopagecacheerror=TEXT
temp.nopagecacheerror.value=5
[global]


I also set the affected pages to be no-cache (edit page properties,
check no-cache).

That does not seem to help?


Anyone have a suggestion that works?

Thanks in advance for nay help,

Andrew Davis



-- 
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo



More information about the TYPO3-english mailing list