Issue:Could not be converted to int
From FollowTheScore
Description: | Bug in DynamicPageList2.php |
Extension / Version: | Calendar / 1.0 |
Type / Status: | Bug / open |
Problem
I installed the latest DPL Calendar on my test wiki, and after importing all the proper pages thru XML like instructed; I get the following error repeated 30 times at the top of the page:
Notice: Object of class ExtParserFunctions could not be converted to int in WIKIPATH/extensions/DynamicPageList/DynamicPageList2.php on line 2095
See the problem for yourself at: http://opensv.ch/mediawiki/index.php?title=Current_events XApple 02:52, 12 January 2008 (CET)
What is going wrong ? Thanks for any answers !
Reply
So far I never observed that error. The reason is probably that your php version is too old (< 4.2). Please remove the second part of the if statement in the php code and check whether it works then. Generally I would recommend to update your php interpreter. Gero 21:05, 16 January 2008 (CET)