×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Notice: Undefined property MatukioViewUpcomingEven

Notice: Undefined property MatukioViewUpcomingEven 12 years 2 months ago #17609

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
This error message is displayed when viewing events via the 'Upcoming Events' menu item:
Notice: Undefined property: MatukioViewUpcomingEvents::$event in /components/com_matukio/views/upcomingevents/tmpl/default.php on line 112 Notice: Trying to get property of non-object in /components/com_matukio/views/upcomingevents/tmpl/default.php on line 112

Is this an issue and will this be fixed?

J2.5.6
Matukio 2.1.0

Notice: Undefined property MatukioViewUpcomingEven 12 years 2 months ago #17612

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hello,

i just had a look at the code, the php notice is a bit strange, because the $event var is used before and after this line (so it should show up on more places then only line 112).

Which PHP version are you using? Do the events show up otherwise without problems?

Best regards,

Yves

P.S. PHP Notices etc. and error output should be disabled on a productive server!

Notice: Undefined property MatukioViewUpcomingEven 12 years 2 months ago #17658

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
PHP Version 5.3.2-1ubuntu4.17

Yes, the events show up otherwise without any problems.

Notice: Undefined property MatukioViewUpcomingEven 12 years 2 months ago #17660

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm strange tested it also on Ubuntu 10.04 and there it is working without the notice.. As long as it works it is secure to ignore the message.

Yves
  • Page:
  • 1
Time to create page: 0.137 seconds