Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6803
    Anonymous
    Inactive

    Hi. I’ve been struggling with this for hours now.

    I keep getting “Uncaught ReferenceError: GmediaGallery is not defined” error in Console which points to the file
    jquery.gmPhantom.js?ver=4.4.2:143 and then the console highlights “GmediaGallery” in line 143.

    142 case ‘src’:
    143 Sources.push(GmediaGallery.upload_dirurl + Content[index][key]);
    144 break;

    When I first tried to use the plugin, I got the “Uncaught ReferenceError: jQuery is not defined” error, but then I added jQuery to my header instead of my footer – and now it is resolved. Then I started to get this “Uncaught ReferenceError: GmediaGallery is not defined” error.

    Please help me, I’m desperate!

    #6805
    Rattus
    Keymaster

    Be sure your theme have wp_head(); function in header.php and wp_footer(); function in footer.php file. That is require for plugins to load their scripts and styles.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Troubleshooting’ is closed to new topics and replies.
Forum closed. Use forum at Wordpress.org: Gmedia Support Forum