-
EddyParticipant
Video shows on slider and grid now, but I’m still getting these errors:
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 4 in /home/mywebsite/public_html/dv/wp-content/themes/esplanade/functions.php on line 1624
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 13 in /home/mywebsite/public_html/dv/wp-content/themes/esplanade/functions.php on line 1624
Performed a manual update on the cpanel, uploaded zip, and wrote over the existing files. Also need to find out how to keep the items on the slider from showing again on the grid. I thought that was a native function?
Please help.
- This reply was modified 12 years, 6 months ago by Eddy. Reason: edited out actual site name
WoodyParticipant@Eddy
How “exactly” are you setting your vid’ to show in slider? And where are you seeing these errors?I’m having slight glitch when one vid’ will work, but not another, yet they are both off Youtube.
Maybe we should delete theme then reinstall.EddyParticipantVideos are set up as “Video” post type and as sticky, per instructions. The errors I copied above appear on top of the videos, on both the slider and the grid.
I noticed after deleting the previous version of the theme, all the previous settings were still there (font color, etc) after delete/fresh re-install. I went ahead and deleted the subdomain and all its contents and will start from scratch.
Thankfully this was not the production site.
Daniel TaraKeymasterYou can open functions.php and replace all instances of:
$document->loadHTML( apply_filters( 'the_content', get_the_content( '', true ) ) );
with
libxml_use_internal_errors( true ); $document->loadHTML( apply_filters( 'the_content', get_the_content( '', true ) ) ); libxml_clear_errors();
Be careful since some instances are already fixed.
gusandrewsParticipantDaniel’s code fix appears to have partially worked for my site, http://gandrews.webfactional.com/icccrdev/, in Safari but not in Firefox. In Safari the video appears on the first cycle of the slider, but does not appear on its second time around. Any thoughts?
- This reply was modified 12 years, 6 months ago by gusandrews.
WoodyParticipantI’ve given up on them showing correctly in the slider as they work fine in my posts.
Gus, I looked at your site with IE and it wasn’t working correctly, sorry mate.Daniel TaraKeymasterThis works for me in all browsers. Are you sure you updated the theme and haven’t made any other modifications?
gusandrewsParticipantI’ve updated the theme and haven’t made modifications that should be making any changes, and it still is not displaying for me either in Firefox or Safari. My site is at http://gandrews.webfactional.com/icccrdev/ ; the weird CSS problems making the slider look wonky appeared when I updated.
Tagged: bug video slider url
You must be logged in to reply to this topic.