Title: Errors in HTML
Last modified: April 24, 2017

---

# Errors in HTML

 *  Resolved [David 279](https://wordpress.org/support/users/david-279/)
 * (@david-279)
 * [9 years ago](https://wordpress.org/support/topic/errors-in-html/)
 * The Gallery plugin appears to be causing some issues with the website, looking
   at the html page source I get the following:
 *     ```
         <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/bwg_frontend.js'></script>
       <script type='text/javascript'>
       /* <![CDATA[ */
       var bwg_objectsL10n = {"bwg_select_tag":"Select Tag","bwg_search":"Search"};
       /* ]]> */
       </script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.sumoselect.min.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.mobile.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.mCustomScrollbar.concat.min.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.fullscreen-0.4.1.js'></script>
       <script type='text/javascript'>
       /* <![CDATA[ */
       var bwg_objectL10n = {"bwg_field_required":"field is required.","bwg_mail_validation":"This is not a valid email address.","bwg_search_result":"There are no images matching your search."};
       /* ]]> */
       </script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/bwg_gallery_box.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.raty.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/jquery.featureCarousel.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/3DEngine/3DEngine.js'></script>
       <script type='text/javascript' src='https://www.blackravenarmoury.co.uk/wp-content/plugins/photo-gallery/js/3DEngine/Sphere.js'></script>
       ```
   
 * To me this suggests there is an issue with a search function, but I can’t see
   a search function within the plugin

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [David 279](https://wordpress.org/support/users/david-279/)
 * (@david-279)
 * [9 years ago](https://wordpress.org/support/topic/errors-in-html/#post-9061083)
 * Please let me know if this is a bug or something I can resolve in one of the 
   settings
 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [9 years ago](https://wordpress.org/support/topic/errors-in-html/#post-9065946)
 * Hello [@david-279](https://wordpress.org/support/users/david-279/)!
 * We checked the code you have provided, but it appears to be correct. So the problems
   you are seeing are most probably not related to these scripts.
 * But could you please let us know what kind of issues do you face when using Photo
   Gallery plugin? They must have a different origin, we will try to suggest a solution.
 * Thanks! Have a great day!
 *  [Flexer](https://wordpress.org/support/users/flexer/)
 * (@flexer)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/errors-in-html/#post-9455573)
 * Hello and thank you for the hard work on this plugin.
 * I am also seeing these code snippets after installing to test your plugin. This
   is on the front end, is this supposed to be there?
 *     ```
       <script type='text/javascript'>
       /* <![CDATA[ */
       var bwg_objectL10n = {"bwg_field_required":"field is required.","bwg_mail_validation":"This is not a valid email address.","bwg_search_result":"There are no images matching your search."};
       /* ]]> */
       </script>
       ```
   
 * AND
 *     ```
       <script type='text/javascript'>
       /* <![CDATA[ */
       var bwg_objectsL10n = {"bwg_select_tag":"Select Tag","bwg_search":"Search"};
       /* ]]> */
       </script>
       ```
   
 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/errors-in-html/#post-9457092)
 * Hello, [@flexer](https://wordpress.org/support/users/flexer/)!
 * Thanks for posting about this!
 * Please note, that these code blocks are necessary for translations written in
   Javascript files. The texts in Javascript files will not be translated without
   this code.
 * Hope you don’t mind having this.
    Thank you! Have a wonderful day!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Errors in HTML’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/errors-in-html/#post-9457092)
 * Status: resolved