Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Bug in code resulting in "Uncaught SyntaxError: Unexpected end of input"

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Bug in code resulting in "Uncaught SyntaxError: Unexpected end of input"

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by WyzGuy-Consulting.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 14, 2019 at 8:00 pm #15316
    WyzGuy-Consulting
    Participant

    In the latest version (v2.3.0) of Lightbox Ultimate (Developer Edition) I was getting an error (“Uncaught SyntaxError: Unexpected end of input”) when using the shortcode [wp_lightbox_ultimate_inline_content_embed].

    When I investigated it I found the following problematic line (1026) of code in file ‘wp_lightbox_misc_functions.php’.

    line 1026: closeClick: false // prevents closing when clicking OUTSIDE fancybox

    When I changed it to use the following syntax, placing the inline comments in ‘/* */’ vs ‘//’, the errors went away.

    line 1026: closeClick: false /* prevents closing when clicking OUTSIDE fancybox */

    You might want to update your repo.

    February 15, 2019 at 6:32 am #79214
    wpCommerce
    Moderator

    Hi, Thank you for pointing out this error. We have just updated the plugin on our website.

    February 18, 2019 at 7:53 pm #79215
    WyzGuy-Consulting
    Participant

    Great, thanks for fixing that.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ