Home › Forums › Calendar Products › Events Calendar PRO › PHP error
- This topic has 6 replies, 4 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
December 31, 2011 at 10:25 am #12739Andy FragenModerator
I’m seeing the following error in my logs.
PHP Warning: Missing argument 2 for TribeEvents::maybeAddEventTitle() in /Library/WebServer/Documents/troop262ps/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 439
December 31, 2011 at 10:29 am #12740Andy FragenModeratorBTW, this may be from bots looking for events that don’t exist. I see the following in my access logs.
66.249.68.110 – – [31/Dec/2011:10:27:31 -0800] “GET /events/1831-01-02 HTTP/1.1” 301 26
66.249.68.110 – – [31/Dec/2011:10:27:33 -0800] “GET /events/1831-01-02/ HTTP/1.1” 200 4635January 2, 2012 at 1:24 pm #12748JonahParticipantHi Andy, thanks for the report. I was not able to produce the error myself but that doesn’t mean it’s not a problem. I’ve logged it for the developers to take a look and we’ll definitely get it fixed if it’s an issue.
January 4, 2012 at 6:12 pm #12873Andy FragenModeratorJonah, does the GET statement in my apache log imply that someone is trying to find an event on January 2, 1831??
In experimenting myself, if I try a similar URL http://troop262ps.org/events/YYYY-MM-DD, whether there are events on that day or not I get the same PHP Warning.January 5, 2012 at 8:35 am #12899JonahParticipantHi Andy,
I have no idea. I’ll need to get another developer to chime in here…
January 5, 2012 at 12:04 pm #12919Joey KudishMemberHey Andy,
Thanks for reporting this issue. We’ve now fixed the maybeAddEventTitle() function so that the second paramater is optional, and thus this error will not be happening again. The fix will be available in the 2.0.3 release which is currently scheduled for next week.
As for the GET statement, yes it looks like someone (or most likely a bot – can be a search bot or hacker or something else) is trying to access that page.
Thanks again & let us know if you have any further issues 🙂
July 2, 2015 at 5:00 pm #975000Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘PHP error’ is closed to new replies.