PHP Errors- "non-numeric value" Recurring Events using "ONCE" event series type
Thanks for getting in touch with us. Let me help you with that issue.
First, my apologies for the delay in getting back to you. It seems that your consecutive posts made this thread to not show up as a priority in the queue somehow and we’ve just saw it.
I made several tests with the recurring events trying to reproduce the same PHP Warning, but failed to do so.
Just to confirm, are you getting that error when editing an existing event or also when creating a new event from scratch?
Could you please share with us your complete debug.log file so we can have a look and see if we can find any other log that would indicate a problem.
I see you have tried the following:
- Deactivated all other plugins? Yes
- Switched to a default theme? Yes
Did you happen to notice a difference when deactivating all other plugins or switching to a default WordPress theme, like Twenty Seventeen? What happens if you try deactivating all plugins and switching to the Twenty Seventeen theme together? Do you notice a difference then?
If you see no difference in those conditions, then we’ll need to do some deeper troubleshooting.
Please let me know about that.
We’ve run some additional tests. We removed all instances of any non-CSS updates we made to the calendar and the “Once” style recurring events still cause a 500 error.
- We know it works properly on the Twenty Seventeen theme with all of the current plugins activated.
- It does not work with our custom theme, but has for years.
- We disabled all of the non-css updates we made to the calendar (we’ve updated some template files with minor overrides for the purposes of layout tweaks). The “Once” event style fail when we remove these overrides.
Do you have any additional thoughts? Do you have any insight into which value is being incorrectly submitted? That may help us troubleshoot on our end.
I’m sorry for the delay in getting back to you. I’ve been out this last couple of days and could not follow up with this.
As a first glance, the problem is the fatal error that triggers because it exceeds the Maximum execution time of 30 seconds. It might be that using your theme might be taking more time to load that page. Please try raising this time limit and see if it prevents the fatal error.
In the meantime, I will reach out to the team and see if they can offer some insight on this matter, and also flag the PHP warning for the non-numerical value you are getting. We’ll let you know what we find.
Please let me know how that goes.