#2630 Non-static method Doc::attachmentsEnabled() should not be ca

Feature_request
closed-fixed
Ray Jones
5
2011-07-02
2011-05-25
Daniel SAX
No

I downloaded the latest WebCalendar version available at SOURCEFORGE (development), installed on localhost and started testing it. Below you'll find error messages that appear. I'm not to familiar in PHP so I would appreciate if someone could fix that error:

Strict Standards: Non-static method Doc::attachmentsEnabled() should not be called statically in F:\xampp\htdocs\WEBCALENDAR\view_entry.php on line 807
Strict Standards: Non-static method Doc::commentsEnabled() should not be called statically in F:\xampp\htdocs\WEBCALENDAR\view_entry.php on line 835
Strict Standards: Non-static method Doc::attachmentsEnabled() should not be called statically in F:\xampp\htdocs\WEBCALENDAR\view_entry.php on line 957
Strict Standards: Non-static method Doc::commentsEnabled() should not be called statically in F:\xampp\htdocs\WEBCALENDAR\view_entry.php on line 961

Many thanks in advance

Discussion

  • Ray Jones
    Ray Jones
    2011-06-02

    The code is now in the REL_1_2 branch and the main branch of
    CVS.

     
  • Ray Jones
    Ray Jones
    2011-06-02

    Added 'public static' to the offending functions.

    Ray

     
  • Ray Jones
    Ray Jones
    2011-06-02

    • assigned_to: cknudsen --> rjones6061
    • status: open --> pending-fixed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed