Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42087
    Anonymous
    Inactive

    Line 228 of dbem_events.php In your else you set the

    $event = ”;

    This can’t be done this way, that database field is an integer and will cause problems with events that don’t have a recurrence. The specific problem I ran into was the inability to update an event after it was created. Not sure if this will cause other issues or not, but I did see other posts regarding recurrence. What I did to fix was the following

    $event = 0;

    Hope this helps.

    #44735
    Franky
    Keymaster

    Hi, thanks for this. I already fixed this in the latest trunk (together with a bunch of other things). If you want to test it out: http://downloads.wordpress.org/plugin/events-manager-extended.zip

    Any testing is appreciated (but do this with test data)

    #44736
    Anonymous
    Inactive

    The download link provided still has the same issue on that particular line. Unless you have changed the database to be a varchar then this will continue to be a problem.

    #44737
    Franky
    Keymaster

    It’s very weird that this should pose a problem; the column is defined as:

    recurrence_id mediumint(9) NULL,

    I admit that it should contain an integer, but still it accepts an empty string (single quoted) just fine here …

    But probably this is the correct code:

    if( isset($event ['recurrence_id']) ) unset($event ['recurrence_id']);

    What do you think?

    #44738
    Franky
    Keymaster

    The fix is in the released version

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top