Title: js error
Last modified: January 11, 2019

---

# js error

 *  Resolved [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/)
 * New user trying to just create a basic gallery. From Gutenberg editor, I add 
   Photonic Block, then get Choose Gallery Source popup. I select WordPress (or 
   any other option) then click Next. It hangs on the ‘waiting’ overlay. In the 
   js console I get:
 * >  load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:4
   >  
   > POST [http://mydomain.com/wp-admin/admin-ajax.php](http://mydomain.com/wp-admin/admin-ajax.php)
   > 500 (Internal Server Error) send @ load-scripts.php?c=0&load[]=jquery-core,
   > jquery-migrate,utils&ver=5.0.3:4 ajax @ load-scripts.php?c=0&load[]=jquery-
   > core,jquery-migrate,utils&ver=5.0.3:4 n.(anonymous function) @ load-scripts.
   > php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:4 window.photonicPostFlowData
   > @ flow.js?ver=20190111-41420:26 (anonymous) @ flow.js?ver=20190111-41420:405
   > dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver
   > =5.0.3:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   > utils&ver=5.0.3:3
    -  This topic was modified 7 years, 2 months ago by [mgurevich](https://wordpress.org/support/users/mgurevich/).

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/js-error-76/page/2/?output_format=md) 
[→](https://wordpress.org/support/topic/js-error-76/page/2/?output_format=md)

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11076216)
 * What happens if you try with the Classic Editor? Do you get the same error?
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078410)
 * Yes, same error.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078414)
 * Thanks for confirming.
 * A 500 error is not possible for me to troubleshoot without some inputs from your
   side. Do you have access to your site’s logs? You error log would typically have
   some errors that will help me understand your specific issue better.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078430)
 * One more question – when you get the screen to select your source, do you see
   the logos like [this screenshot](https://aquoid.com/plugins/photonic/gallery-creation/#interactive)?
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078505)
 * Yes, I do. When I click on one of the logos, it gets highlighted with the glowing
   blue outline. Then when I click the “Next” button they get whited out with the
   three animated blue squares overlaid. That’s where the error occurs–when I click“
   Next”.
 * I tried it with both WordPress and Flickr gallery sources (and set up the Flickr
   API key as per the instructions). Same behavior for both.
    -  This reply was modified 7 years, 2 months ago by [mgurevich](https://wordpress.org/support/users/mgurevich/).
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078520)
 * OK – any chance you have access to your site’s error logs?
 * Sorry for being unable to give you a straightforward answer – error code 500 
   is always a lot harder to troubleshoot than the others and it occurs very rarely
   for Photonic.
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078608)
 * Hmm. I can. It’s generating new error log entries but they are all empty files.
   Not sure if I have any more granular control over error logging with my site 
   hosting.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078746)
 * > It’s generating new error log entries but they are all empty files
 * That’s interesting – how do you know that the logs are getting updated in that
   case?
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078872)
 * The modification time seemed to be updating when the error occurred. Like the
   file was getting touched but not edited. That might have been a coincidence though,
   because on second inspection the timing isn’t correlated to the Photonic js error.
 * So, no, I’m not seeing anything in the site’s error logs.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11078947)
 * Very weird. Any chance your host can help you with getting the error identified?
 * There is the more traditional shortcode builder to help you create the shortcode
   in the classic editor, but it is nowhere close to being even a tenth as intuitive
   as the interactive workflow.
 * To use this you can do the following:
    1. Use the Classic Editor to edit the post. Both, Visual Editor and Text Editor
       are fine, though I prefer the Text Editor (it is easier to edit the shortcode
       there)
    2. Click on “Add Media”. You will see a tab for Photonic (like the screenshot [here](https://aquoid.com/plugins/photonic/gallery-creation/#vanilla))
    3. Populate the fields as required.
 * Unlike the interactive workflow it does not show you context-sensitive information.
 * Some pointers to create a gallery with Flickr as a source:
    - To display your photostream (with or without filters): [https://aquoid.com/plugins/photonic/flickr/flickr-photos/](https://aquoid.com/plugins/photonic/flickr/flickr-photos/)
    - To display your albums (a.k.a. photosets): [https://aquoid.com/plugins/photonic/flickr/flickr-photosets/](https://aquoid.com/plugins/photonic/flickr/flickr-photosets/)
    - To display your galleries (very few people have galleries on Flickr, though):
      [https://aquoid.com/plugins/photonic/flickr/flickr-galleries/](https://aquoid.com/plugins/photonic/flickr/flickr-galleries/)
    - For collections: [https://aquoid.com/plugins/photonic/flickr/flickr-collections/](https://aquoid.com/plugins/photonic/flickr/flickr-collections/)
 * You will see shortcode examples. If you require help identifying your user id
   you can do so from _Photonic → Helpers_.
 * The interactive dialog basically eliminates all of the above and lets you create
   a shortcode without getting too technical or ploughing through the documentation.
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11079149)
 * Bummer. I’ll see if I can track down the error and will look into the shortcode
   builder in the meantime.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11084108)
 * Which version of PHP are you on? If you are on 5.3.x or lower can you upgrade
   to a newer version? Another user had a conflict between a different plugin and
   PHP 5.3 that was causing a 500 error in the backend, so this might help fix the
   issue.
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11084958)
 * Aha. Yes, was on 5.2. Upgrading now and will check back. Meanwhile I built the
   site entering in shortcodes manually. I didn’t need anything really complex so
   wasn’t very difficult.
 *  Thread Starter [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * (@mgurevich)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11085025)
 * Upgraded to php 5.6 and it is now working. Thanks for your support!
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/#post-11085026)
 * That’s a relief! At least I have a point of reference now.
 * Does any of your other plugins have a stated minimum PHP version requirement?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/js-error-76/page/2/?output_format=md) 
[→](https://wordpress.org/support/topic/js-error-76/page/2/?output_format=md)

The topic ‘js error’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [mgurevich](https://wordpress.org/support/users/mgurevich/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-76/page/2/#post-11085036)
 * Status: resolved