Before 2.0.0.8 there was no problem. This appeared after update to 2.0.0.82.0.0.8 fixed that bug. Update to the most recent version.
ErrorException: [E_NOTICE] A non well formed numeric value encountered src/addons/EWR/Atendo/Repository/Occur.php:173
Stack trace
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] A no...', '/home/me/p...', 173, Array)
#1 src/addons/EWR/Atendo/Repository/Occur.php(173): DateTime->setTime('8', '00am')
#2 src/addons/EWR/Atendo/Repository/Occur.php(194): EWR\Atendo\Repository\Occur->getTimesFromInput(Array, Array)
#3 src/addons/EWR/Atendo/Pub/Controller/Event.php(285): EWR\Atendo\Repository\Occur->buildOccurs(Array, '1', Array)
#4 src/XF/Mvc/Dispatcher.php(249): EWR\Atendo\Pub\Controller\Event->actionEdit(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Atendo:Even...', 'Edit', 'json', Object(XF\Mvc\ParameterBag), 'EWRatendo', Object(EWR\Atendo\Pub\Controller\Event), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
["url"] => string(19) "/events/events/edit"
["referrer"] => string(63) "https://mydomain.net/forums/event-announcements/post-event"
["_GET"] => array(0) {
}
["_POST"] => array(13) {
["event"] => array(4) {
["event_title"] => string(43) " West Coast Military Radio Collectors Group"
["event_location"] => string(24) "Estrella Warbirds Museum"
["event_address"] => string(41) "4251 Dry Creek Road, Paso Robles, CA, USA"
["event_rsvp"] => string(1) "1"
}
["message_html"] => string(2214) "<p>The 23rd Annual MRCG meeting will be held on Friday, 4 May 2018 and Saturday, 5 May 2018 at the <a href="https://www.ewarbirds.org/index.shtml" rel="noopener" target="_blank">Estrella Warbirds Museum</a>, located at <a href="https://www.google.com/maps/place/4251+Dry+Creek+Rd,+Paso+Robles,+CA+93446/@35.6641766,-120.621892,17z/data=%213m1%214b1%214m5%213m4%211s0x80ecc8ad2bae230f:0x2b3e3be7a03b574e%218m2%213d35.6641766%214d-120.619698" rel="noopener" target="_blank">4251 Dry Creek Road in Paso Robles</a>, CA.</p><p><br></p><p><a href="https://www.ewarbirds.org/index.shtml"></a></p><p>As announced on the <a href="http://mailman.qth.net/mailman/listinfo/mrcg" rel="noopener" target="_blank">MRCG Mailing List</a> last week, Camp San Luis Obispo (CSLO) command suddenly withdrew MRCG’s permission to use the NCO Club for our meeting as we had planned. Thanks to some very quick work by Steve Hudson KI6BSQ and John Castorina WB6AZP, we have reserved a new venue at the Estrella Warbirds Museum in nearby Paso Robles, CA!</p><p><br></p><p>Steve reports:</p><p><br></p><p>We have scheduled the use of the hall there from 0800 Friday, 4 May to 1200 noon Saturday, 5 May. There’s a camping area for "dry" camping and motorhomes are welcome. Exhibit setup will not happen until Friday at 0800. Reasonable antennas can be setup in the outdoor area near the hall and campground. Still need to confirm if early arrivals on Thursday can setup in the campground area. Exhibits will be in the hall so they can be secured at night. Cost is $25 per person. This includes $10 to the museum, good for both days (normally $12 per visit), and $15 to MRCG. A raffle ticket is included. There is a vintage ham station there, 80/40/20 meters, SSB and AM/CW – I’ll confirm we can use it.</p><p><br></p><p>Tech talks will be Friday afternoon. We’re still planning the swap meet and junk auction for Saturday morning.</p><p>Our normal operations we are used to from Camp SLO will need some modification, but this should be a great change in venue. Additional details will be worked out by next weekend.</p><p><br></p><p>http://www.mrcgwest.org</p><p><span style="color: rgb(255, 255, 255);">.</span></p><p></p><p><br></p>"
["node_id"] => string(3) "116"
["strDate"] => string(10) "2018-05-04"
["strTime"] => string(6) "8:00am"
["endDate"] => string(10) "2018-05-05"
["endTime"] => string(7) "12:00pm"
["occur"] => array(1) {
["occur_timezone"] => string(19) "America/Los_Angeles"
}
["repeat"] => array(2) {
["type"] => string(4) "none"
["limit"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(38) "/forums/event-announcements/post-event"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Delete
My users made me aware of this after update to 2.0.0.8.I uninstalled the add-on, reuploaded the 2.0.0.8 version and I still have the same trouble. Created a test event on April 4 at 17:00-19:00. The event gets created for April 3 at 17:00-19:00.
Default timezone: Mountain Time (US & Canada)What are your EXACT settings when these issues happen? Because I can not reproduce it.
What is the default timezone settings of your forum?
What is the timezone setting of the account making the event?
What is the timezone of the event?
Mine is "(UTC+01:00) Central European Time" for all 3 of them.What are your EXACT settings when these issues happen? Because I can not reproduce it.
What is the default timezone settings of your forum?
What is the timezone setting of the account making the event?
What is the timezone of the event?
In the month view there is a "Click to expand" link. I cant click the event itself (22:00) and nothing happens when i click "Click to expand".
View attachment 171030
What are supposed to happen when i click "Click to expand..." ?
Yes, ref my post 2 pages backAlso, clic to expand does not work.
If you've got more than 2 events the third one can't be seen. I have not found a way for it to be shown in any way. Is anyone else experiencing this?
View attachment 172769
Server error log
ErrorException: [E_NOTICE] A non well formed numeric value encountered src/addons/EWR/Atendo/Repository/Occur.php:173
Stack trace
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] A no...', '/home/me/p...', 173, Array)
#1 src/addons/EWR/Atendo/Repository/Occur.php(173): DateTime->setTime('7', '00am')
#2 src/addons/EWR/Atendo/Repository/Occur.php(194): EWR\Atendo\Repository\Occur->getTimesFromInput(Array, Array)
#3 src/addons/EWR/Atendo/Pub/Controller/Event.php(285): EWR\Atendo\Repository\Occur->buildOccurs(Array, '1', Array)
#4 src/XF/Mvc/Dispatcher.php(249): EWR\Atendo\Pub\Controller\Event->actionEdit(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Atendo:Even...', 'Edit', 'json', Object(XF\Mvc\ParameterBag), 'EWRatendo', Object(EWR\Atendo\Pub\Controller\Event), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
["url"] => string(19) "/events/events/edit"
["referrer"] => string(63) "https://mydomain.net/forums/event-announcements/post-event"
["_GET"] => array(0) {
}
["_POST"] => array(13) {
["event"] => array(4) {
["event_title"] => string(30) "Pacificon 2018 - San Ramon CA"
["event_location"] => string(18) "San Ramon Marriott"
["event_address"] => string(43) "2600 Bishop Drive, San Ramon, CA 94583, USA"
["event_rsvp"] => string(1) "1"
}
["message_html"] => string(482) "<p>All Day Friday Antenna Seminar</p><p>Outstanding Technical & EmComm Forums</p><p>Ham Radio 101 & 201 Seminars</p><p>Latest Ham Radio Equipment in Vendor Hall</p><p>Special Youth and Adult Kit Building</p><p>Saturday Breakfast with Gordon West</p><p>Saturday Banquet with Special Speakers</p><p>Special Events Radio Station</p><p>Get On The Air</p><p>One Day Technician License Prep Class</p><p>Ham License Exams</p><p>Tech, General, Extra</p><p>Great Sunday Swap Meet</p>"
["node_id"] => string(3) "116"
["strDate"] => string(10) "2018-10-19"
["strTime"] => string(6) "7:00am"
["endDate"] => string(10) "2018-10-21"
["endTime"] => string(6) "3:00pm"
["occur"] => array(1) {
["occur_timezone"] => string(19) "America/Los_Angeles"
}
["repeat"] => array(2) {
["type"] => string(4) "none"
["limit"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(38) "/forums/event-announcements/post-event"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Can you try replacing the following lines in EWR\Atendo\Repository\Occur.php:Still getting the error below every time I create an event.
.Code:Server error log ErrorException: [E_NOTICE] A non well formed numeric value encountered src/addons/EWR/Atendo/Repository/Occur.php:173 Stack trace #0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] A no...', '/home/me/p...', 173, Array) #1 src/addons/EWR/Atendo/Repository/Occur.php(173): DateTime->setTime('7', '00am') #2 src/addons/EWR/Atendo/Repository/Occur.php(194): EWR\Atendo\Repository\Occur->getTimesFromInput(Array, Array) #3 src/addons/EWR/Atendo/Pub/Controller/Event.php(285): EWR\Atendo\Repository\Occur->buildOccurs(Array, '1', Array) #4 src/XF/Mvc/Dispatcher.php(249): EWR\Atendo\Pub\Controller\Event->actionEdit(Object(XF\Mvc\ParameterBag)) #5 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Atendo:Even...', 'Edit', 'json', Object(XF\Mvc\ParameterBag), 'EWRatendo', Object(EWR\Atendo\Pub\Controller\Event), NULL) #6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #7 src/XF/App.php(1891): XF\Mvc\Dispatcher->run() #8 src/XF.php(328): XF\App->run() #9 index.php(13): XF::runApp('XF\\Pub\\App') #10 {main} Request state array(4) { ["url"] => string(19) "/events/events/edit" ["referrer"] => string(63) "https://mydomain.net/forums/event-announcements/post-event" ["_GET"] => array(0) { } ["_POST"] => array(13) { ["event"] => array(4) { ["event_title"] => string(30) "Pacificon 2018 - San Ramon CA" ["event_location"] => string(18) "San Ramon Marriott" ["event_address"] => string(43) "2600 Bishop Drive, San Ramon, CA 94583, USA" ["event_rsvp"] => string(1) "1" } ["message_html"] => string(482) "<p>All Day Friday Antenna Seminar</p><p>Outstanding Technical & EmComm Forums</p><p>Ham Radio 101 & 201 Seminars</p><p>Latest Ham Radio Equipment in Vendor Hall</p><p>Special Youth and Adult Kit Building</p><p>Saturday Breakfast with Gordon West</p><p>Saturday Banquet with Special Speakers</p><p>Special Events Radio Station</p><p>Get On The Air</p><p>One Day Technician License Prep Class</p><p>Ham License Exams</p><p>Tech, General, Extra</p><p>Great Sunday Swap Meet</p>" ["node_id"] => string(3) "116" ["strDate"] => string(10) "2018-10-19" ["strTime"] => string(6) "7:00am" ["endDate"] => string(10) "2018-10-21" ["endTime"] => string(6) "3:00pm" ["occur"] => array(1) { ["occur_timezone"] => string(19) "America/Los_Angeles" } ["repeat"] => array(2) { ["type"] => string(4) "none" ["limit"] => string(1) "1" } ["_xfToken"] => string(8) "********" ["_xfRequestUri"] => string(38) "/forums/event-announcements/post-event" ["_xfWithData"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
-168: $strClock = explode(':', $input['strTime']);
-176: $endClock = explode(':', $input['endTime']);
+168: $strClock = explode(':', date("H:i", strtotime($input['strTime'])));
+176: $endClock = explode(':', date("H:i", strtotime($input['endTime'])));
Can you try replacing the following lines in EWR\Atendo\Repository\Occur.php:
WithCode:-168: $strClock = explode(':', $input['strTime']); -176: $endClock = explode(':', $input['endTime']);
Code:+168: $strClock = explode(':', date("H:i", strtotime($input['strTime']))); +176: $endClock = explode(':', date("H:i", strtotime($input['endTime'])));
- Event title, description and location values will now follow XenForo censorship settings.
- Fixed a bug which causes some events to be dated a day early. It was hard to figure out what was causing this, especially since it seems to be related to some obtuse server settings. But I think I have a full workaround with this release which should solve the issue.
- Fixed a bug with JavaScript scoping that was preventing the "click to expand" link from working on the monthly calendar...
Jaxel updated XF2 [8WR] XenAtendo 2 (Calendar) PRO with a new update entry:
Read the rest of this update entry...
We use essential cookies to make this site work, and optional cookies to enhance your experience.