CartEvents is a TYPO3 extension and provides an own data storage for events. Events can be offered via a list and detail view and can be purchased via cart function of the Cart extension.
GNU General Public License v2.0
4
stars
3
forks
source link
Problem with EventViewHelper getEventPage(Event $event) line 85 #62
I use single event pages only. Why would this error occur?
Argument 1 passed to Extcode\CartEvents\ViewHelpers\Link\EventViewHelper::getEventPage() must be an instance of Extcode\CartEvents\Domain\Model\Event, null given, called in /.../typo3conf/ext/cart_events/Classes/ViewHelpers/Link/EventViewHelper.php on line 46
I have got the same problem. It seems that the result of findNext() does not contain the "Event".
Removing the Link view helper in the fluid partial makes the date show up, but title e.g. are not shown.
Using Cart: Event dates (upcoming).
Event $event is null but the event_dates are filled in (not calendar entries, tried thast too).
Extcode\CartEvents\ViewHelpers\Link\EventViewHelper->getEventPage(null)
I use single event pages only. Why would this error occur?
Argument 1 passed to Extcode\CartEvents\ViewHelpers\Link\EventViewHelper::getEventPage() must be an instance of Extcode\CartEvents\Domain\Model\Event, null given, called in /.../typo3conf/ext/cart_events/Classes/ViewHelpers/Link/EventViewHelper.php on line 46