• Collin

    (@collinmbarrett)


    Please help ASAP! Thanks.

    I tried adding a new sidebar in a theme I purchased whose title had the ampersand character and it apparently caused a critical error. All of my pages now show the error below. How do I fix this? I’ve been tinkering around in the database in phpMyAdmin to see if there was an obvious fix, but I’m scared to change anything in the database without proper guidance. Is there a way to manually unregister the bad sidebar directly in the database? Thanks!

    Warning: DOMDocument::loadXML() [domdocument.loadxml]: xmlParseEntityRef: no name in Entity, line: 1 in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/function-regist.php on line 52

    Warning: Invalid argument supplied for foreach() in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/function-regist.php on line 53

    Warning: DOMDocument::loadXML() [domdocument.loadxml]: xmlParseEntityRef: no name in Entity, line: 1 in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/plugin/utility.php on line 74

    Warning: Invalid argument supplied for foreach() in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/plugin/utility.php on line 76

    Warning: DOMDocument::loadXML() [domdocument.loadxml]: xmlParseEntityRef: no name in Entity, line: 1 in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/plugin/utility.php on line 74

    Warning: Invalid argument supplied for foreach() in /home/content/67/9492767/html/beta/wp-content/themes/grandcollege/include/plugin/utility.php on line 76

Viewing 1 replies (of 1 total)
  • Thread Starter Collin

    (@collinmbarrett)

    Ok, I got lucky and figured it out.

    In the database, I found the option_name for grc_create_sidebar and removed the ampersand from the title of the faulty sidebar.

Viewing 1 replies (of 1 total)
  • The topic ‘Registered Sidebar with Ampersand Caused a Critical Error’ is closed to new replies.