Warning: Not properly nested tag found
-
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
-
Hi
I have the same problem after updating to 0.7.8The 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
Yes. Peter.. That’s exactly what’s happening to me.. Hopefully they will fix this bug soon!
CDSame 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?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 335Here’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 BradyMeet 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 …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.
Fixed in version 0.7.9.
I cannot find the plugin on the WordPress plugins site anymore.
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?
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.
The topic ‘Warning: Not properly nested tag found’ is closed to new replies.