I see what you mean, I think it’s == also – I’m going to let the devs know about this.
adding the = does make the error stop from showing in debug.log
Type is also a reserved term in WP and shouldn’t be used: https://codex.wordpress.org/Reserved_Terms
It was screwing up the AJAX request by having it in the URL. I fixed it temporarily by changing line 288 to:
if( 'type' != $key ) {
$strings[] = "'$key'" ." : ". $arg ;
}
thanks, I’m going to let the devs know about this.
Impossible to login with WP FullCalendar + WP_DEBUG turned on !
– “Undefined index: type in /…/wp-content/plugins/wp-fullcalendar/wp-fullcalendar.php on line 53”
(“Cannot modify header information – headers already sent by /…/wp-includes/pluggable.php on lines 935, 936, 937, 1207)
WP 4.3.1
Event Manager 5.6.1
FullCalendar 1.0
sorry but this works for me; just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:
– deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems
thank’s for answering
I did as you asked
Preliminary reminder :
I talk about login/logout problem which occurs when WP_DEBUG is ON
(with WP_DEBUG off, there is no visible problem, ok ?)
Tests :
1) tested with a custom theme and with the default “twentyfifteen” theme (1.3)
2) tested plugin by plugin
3) the same problem on both themes
–notice–
4) with all plugins but Full Calendar = login/logout works fine
5) with all plugins but Event Manager = login/logout works fine
Conclusion :
the issue seems to come from the cohabitaion of Event Manager (5.6.1) and Full Calendar (1.0) used to show events from Event Manager
if you need details about environnement, configuration, notices and warnings, I can send it