• Resolved cihomewood

    (@cihomewood)


    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

    (@cihomewood)

    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

    (@liedekef)

    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

    (@cihomewood)

    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

    (@cihomewood)

    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

    (@liedekef)

    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

    (@cihomewood)

    Installing 2.2.65 worked Franky, thanks.

    Is there anything I can do to help find what has broken?

    Ian

    Plugin Author Franky

    (@liedekef)

    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 2 years, 8 months ago by Franky.
    Plugin Author Franky

    (@liedekef)

    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

    (@cihomewood)

    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.