• Resolved cdmazoff

    (@cdmazoff)


    Hi. Went up to add some events to our site and found this warning on all events posted. They display properly but I’m wondering why I’m getting this error message.

    Warning: Not properly nested tag found (last opening tag: div, closing tag: p) in /home/xxxxxxx/public_html/wp-content/plugins/event-list/includes/db.php on line 335

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi
    I have the same problem after updating to 0.7.8

    The events are displayed correctly on the page with the [event-list] code.

    The error message appears in the Event List displayed in the Dashboard where there is a blank line (i.e. paragraph) between blocks of texts.

    Peter

    Thread Starter cdmazoff

    (@cdmazoff)

    Yes. Peter.. That’s exactly what’s happening to me.. Hopefully they will fix this bug soon!
    CD

    Same problem being reported for Event List via some error logging I’m doing on my site to sort another plugin’s problems.

    [06-Apr-2017 15:18:12 UTC] PHP Warning: Not properly nested tag found (last opening tag: div, closing tag: p) in /www/sites/f6a/c4c/xxx/web/wp-content/plugins/event-list/includes/db.php on line 335

    Yep, me too.
    Any chance of this getting resolved?

    Plugin Author mibuthu

    (@mibuthu)

    I cannot reproduce this issue. Can someone please post a sample description for testing?

    @mibuthu – it’s an error that seems to occur at random times.

    I have PHP error logging turned on all the time to try to track another plugin problem and the log catches Event List errors such as this:
    [06-Apr-2017 15:18:12 UTC] PHP Warning: Not properly nested tag found (last opening tag: div, closing tag: p) in /www/sites/f6a/c4c/xxx/web/wp-content/plugins/event-list/includes/db.php on line 335

    Here’s a screenshot that shows the errors on the Event list page.

    Here’s a link to the live Events Calendar page where the 2 events that throw an error in Events List still get displayed correctly.

    Hi
    For me it is a consistent error.

    Example
    Title: Ivinghoe Beacon
    Date: 2017/06/13
    Time:
    Location:
    Details: Leaders: Jenny Huggett and Steve Brady

    Meet in National Trust car park, Ivinghoe Hills, for 2-3 mile walk on the Chiltern ridge, returning at a lower level. Chalk grassland and patches of woodland support birds, insects including butterflies.

    SP965160. (NB the nearest Postcode is a farm, not the car park, so is no use)

    The error is only visible in Dashboard/Events List/All events which displays:
    Warning: Not properly nested tag found (last opening tag: div, closing tag: p) in /homepages/44/d567818277/htdocs/wp-content/plugins/event-list/includes/db.php on line 335
    Leaders: Jenny Huggett and Steve Brady
    Meet in National Trust car park, Ivinghoe Hills, for 2-3 mile …

    Plugin Author mibuthu

    (@mibuthu)

    Thanks for your information, I can now reproduce the problem. It seems that it is not a problem of the truncate function, but within the html generated in the event table.
    Can you please try the following modification in admin/event_table.php on line 48:
    old:
    return $this->db->truncate(wpautop('<div>'.$item->details.'</div>'), 100);
    new:
    return $this->db->truncate('<div>'.wpautop($item->details).'</div>', 100);
    Does this change fix the problem for you also?

    Wow! Yes! This worked for me. Good work, sir.

    Plugin Author mibuthu

    (@mibuthu)

    Fixed in version 0.7.9.

    I cannot find the plugin on the WordPress plugins site anymore.

    Plugin Author mibuthu

    (@mibuthu)

    Sorry, I should have mentioned that already yesterday. The plugin was temporarily closed by wordpress due to a security vulnerability. I have also fixed this issue in the new version, so it should be back online soon. They have written that the review can take 4-5 working days. If you want to update immediately you can manually download the new version via github.

    Just tried to install the github version via Add New with the zip file but get…

    Fatal error: Cannot declare class Event_List, because the name is already in use in /www/sites/fd7/491/dev.henleyherald.com/web/wp-content/plugins/wp-event-list-0.7.9/event-list.php on line 40

    How do install 0.7.9 when 0.7.8 is still active and/or not lose any settings or events?

    Plugin Author mibuthu

    (@mibuthu)

    It looks like you have copied the new version into another folder than the already installed version. So you have the plugin installed twice now.
    You have to replace all the existing files in the existing folder (normally “event-list”).

    The plugin is back on WordPress now so I’ve updated from there, thanks.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Warning: Not properly nested tag found’ is closed to new replies.