Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I've obtained an error in a calendar view. The error is the following;
warning: __clone method called on non-object in /opt/drupal-5.1/includes/common.inc on line 1375.
I hope this helps
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThere have been updates so I don't know that this still applies. If you run into it again, you can reopen the issue, but I need to know exactly what you were doing and where you were when you saw it.
Comment #2
cglusky CreditAttribution: cglusky commentedKaren,
I am still seeing this error...
d5.7
php 5.1.2
have latest dev modules for cal and date
seems to come up when using a views based cal
and the location listed in watchdog is /events/9/1/W2
which does not seem to be a proper uri to begin with ...
the only other clue i can give you is the first two weeks of any month are always numbered the same.
R,
Coby
Comment #3
cglusky CreditAttribution: cglusky commentedKaren,
Just some more info:
I upgraded to php5.2 and am testing on a fresh install of d5.7 with the latest date and cal dev snapshots.
If I use the built in calendar view I now get a te same error as above but now it's a fatal error and a blank screen.
If I create a custom view I get the cal but now get the
warning: date_format() expects parameter 1 to be DateTime, null given in....
But I do not get the clone error.
r,
c
Comment #4
cglusky CreditAttribution: cglusky commentedKaren,
OK. it seems the clone error only occurs when trying to use the default calendar view. i managed to get a custom cal view set up and working but we are still dealing with strange display of date time in the cal.
http://v5.metanomy.com/?q=cal
if you want to see what it is doing on my test site. And I would be more than happy to make you an admin so you can play around in another system.
R,
Coby
Comment #5
KarenS CreditAttribution: KarenS commentedThis is probably the same as http://drupal.org/node/247215, since it only occurs with the default view.