Difference between revisions of "Issue:Could not be converted to int"

From FollowTheScore
Jump to: navigation, search
Line 18: Line 18:
 
== Reply ==
 
== Reply ==
 
So far I never observed that error. The reason ius 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.
 
So far I never observed that error. The reason ius 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.
 
+
: That's not it, I'm running PHP 5.1.4. I have made a file containing <nowiki>"<?php phpinfo() ?>"</nowiki> [http://opensv.ch/test.php here] so you can see for yourself. [[User:XApple|XApple]] 18:07, 18 January 2008 (CET)
 
[[User:Gero|Gero]] 21:05, 16 January 2008 (CET)
 
[[User:Gero|Gero]] 21:05, 16 January 2008 (CET)

Revision as of 19:07, 18 January 2008

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 ius 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.

That's not it, I'm running PHP 5.1.4. I have made a file containing "<?php phpinfo() ?>" here so you can see for yourself. XApple 18:07, 18 January 2008 (CET)

Gero 21:05, 16 January 2008 (CET)