Title: Latest update broken plugin
Last modified: March 20, 2022

---

# Latest update broken plugin

 *  Resolved [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/)
 * Since the latest update EME is throwing an error of non numeric value at line
   2042. I think this may be too do with the widget, as the event list still seems
   to work.
 * Is there a way to roll this update back?
 * Thanks
 * Ian

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476417)
 * Update
 * I don’t think it is a problem with the widget. The error appears on any page 
   using the following shortcode:
 * `[eme_events show_recurrent_events_once=1 category=15 scope=future]`
 * The errors appear at the very top of the page, after which the events do appear
   as normal, so the shortcode itself is working, it is just the setup which appears
   to be messed up.
 * The line which is causing the error is:
    `$orig_result_needle = $orig_result[
   1]-$needle_offset;`
 * Any help would be appreciated.
 * Thanks
 * Ian
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476842)
 * Can you tell me the event list format template you’re using?
    Can you reproduce
   it on a page without the widget? I tried reproducing the error, but no luck so
   far.
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476891)
 * Hi
 * I have put the site into troubleshooting mode, so all other plugins are disabled
   and a default theme is enabled. Widgets are also disabled. The error still happens.
 * Below is the code I am using for the event list:
 * `<table style="border:1px dotted;background-color:#d2f3ba"><tr style="border:
   0px"><th style="border:0px;width:110px">#_STARTDATE{d M Y} <p>#_STARTTIME</th
   ><th style="border:0px;vertical-align:top"> #_LINKEDNAME</th></tr><tr style="
   border:0px"><th style="border:0px"></th><th style="border:0px;text-align:left"
   > #_EXCERPT</th></tr></table>`
 * This is the code for the single event format:
 *     ```
       <strong>#_STARTDATE at #_STARTTIME - #_ENDTIME</strong><br />
       #_LOCATIONNAME<br />
       #_ADDRESS<br />
       #_TOWN #_ZIP<br /><br />
       #_NOTES<br />
       #_MAP<br />
       #_DIRECTIONS<br />
       #_ADDBOOKINGFORM_IF_NOT_REGISTERED<br />
       #_REMOVEBOOKINGFORM_IF_REGISTERED<br />
       ```
   
 * The shortcode I am using is as below (different pages have same shortcode but
   different category). When I edit a page like this the errors appear and then 
   disappear.
 * `[eme_events show_recurrent_events_once=1 category=15 scope=future]`
 * Do you need any more information? I will email you the page source for one of
   the pages showing the error.
 * Thanks
 * Ian
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476929)
 * I’m confused now. Rolling back to 2.2.66 hasn’t resolved the problem, which exists
   even in troubleshooting mode. I may be wrong but my understanding of troubleshooting
   mode is that it isolates just that plug-in you are troubleshooting. That certainly
   seems to be how it looks. All other plug-ins are disabled and a default theme
   is being used.
 * Am I missing something?
 * Ian
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476950)
 * First, try version 2.2.65 (2.2.66 and 2.2.67 were released one day apart).
    Next
   to that: using your event list format, I was not able to trigger your error. 
   The best would be to try and reprocuce it on a “clean” site, so I can try to 
   reproduce it too then.
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15476970)
 * Installing 2.2.65 worked Franky, thanks.
 * Is there anything I can do to help find what has broken?
 * Ian
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15477174)
 * Well, if you can reproduce it on a test site, that would help … because currently
   I’m not able to reproduce the problem.
    And – maybe that is related: what is 
   your php version?
    -  This reply was modified 4 years, 1 month ago by [Franky](https://wordpress.org/support/users/liedekef/).
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15477301)
 * I’m guessing this is a php5 issue, but the next version will try to be more resilient
   in the regex matching used. So for now I’ll mark this resolved.
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15478557)
 * The website is on PHP v7.3.33. I will try to set up a staging site for you to
   test.
 * Thanks
 * Ian

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Latest update broken plugin’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

## Tags

 * [non-numeric](https://wordpress.org/support/topic-tag/non-numeric/)

 * 9 replies
 * 2 participants
 * Last reply from: [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/latest-update-broken-plugin/#post-15478557)
 * Status: resolved