Notification menu item causes errors

3.02K viewsIssues
0

When I add the notification menu item, my theme spits out this error:

https://www.evernote.com/l/AGJL6IgJ45ZDMZOgJYCO8ORyXhgRsuSgBjA

As soon as I remove the notification item from the menu, everything is fine.. Any thoughts?

This is the compete error:

Warning: SimpleXMLElement::__construct(): Entity: line 13: parser error : EntityRef: expecting ';' in /home/klantpas/public_html/academy/wp-content/themes/18-tags/inc/pro/includes/class-primary-nav-styles.php on line 113

Warning: SimpleXMLElement::__construct(): _markread_notification" data-query="ap_ajax_action=markread_notification&__nonce in /home/klantpas/public_html/academy/wp-content/themes/18-tags/inc/pro/includes/class-primary-nav-styles.php on line 113

Warning: SimpleXMLElement::__construct(): ^ in /home/klantpas/public_html/academy/wp-content/themes/18-tags/inc/pro/includes/class-primary-nav-styles.php on line 113

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/klantpas/public_html/academy/wp-content/themes/18-tags/inc/pro/includes/class-primary-nav-styles.php:113 Stack trace: #0 /home/klantpas/public_html/academy/wp-content/themes/18-tags/inc/pro/includes/class-primary-nav-styles.php(113): SimpleXMLElement->__construct('
  • logo_in_nav(‘

Are you using any menu plugin?

Yeah, I’m using Nav Menu Roles – but that’s not causing it (deactivating it didn’t solve the issue). The theme has some header/menu options for the wordpress customizer baked in though.. (the theme is a fork of the Storefront theme by WooThemes)