Firelight
Forum Replies Created
-
Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2@tinoue – Assuming you’re still having the issue, if you open to doing so, I might ask if you can reach out to us at firelightwp.com/contact. Just reference this thread. We can discuss some additional possible troubleshooting.
Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2Actually, just to share from my side, here’s the code.
The challenge I’m having is that this code is simple, correct, and does not have a syntax error. Line 748 is the last line, and the closing parenthesis is required as the closing parenthesis for the wp_enqueue_script() call.
wp_enqueue_script(
'firelight-block-js',
$block_js,
array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-hooks' ),
$version,
array( 'in_footer' => true ),
); // <- This is line 748. I cannot remove this closing paranthesis.Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2@tinoue – Are you saying that you still have the error with the latest update?
If so, is there any way you could please copy the lines of code around that line and paste them here?
And I know you already did, but can you confirm if you go to the plugin pages, it says you have version 2.2.3?
- This reply was modified 1 year, 10 months ago by Firelight.
Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2Hmm. Well, that’s concerning.
I did just push a release that imposes full PHP coding standards on that file. Notably, the coding standards did not flag or force any changes to the line above. In any case, feel free to update and confirm the issue is still fixed.
I’m particularly concerned that using the updater may have generated an issue/message that’s not (a) consistent and (b) actually there in the code as far as I can see.
In any case, hopefully this update also resolves things for people.
Please definitely let me know if you continue to see any issues, and I’ll be available to troubleshoot immediately.
Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2Oh, in the meantime, if that error is blocking your site, you can try re-downloading the plugin from the WordPress.org page, and uploading. It will ask you if you want to override the plugin files – just say yes. That will double check you have all the right files and nothing went odd in your last update.
Forum: Plugins
In reply to: [Firelight Lightbox] Syntax error in PHP7.2Hi! Thanks for the report. This one is puzzling.
Normally, if that error existed, it should be there for everyone (the PHP version should not affect it). I just had a look at line 693 in that file, and there is not an extra parenthesis there (there is a closing parenthesis, but it is needed). I tried it against PHP 7 too, just to be sure.
Can I ask how you uploaded – did you click update from your WP dashboard or download a zip and upload manually?
I had prepped a change to apply PHP coding standards to this file. I was going to put that in the next release, but just as a safety measure, I will prepare a release with that shortly and deploy. In that file, both myself and PHP coding standards agree there are no issues.
Hopefully that will resolve things for you. If not, I may ask if there any chance you can copy the lines of code around that line in your version of the plugin so I can see them. But we can hold on that until after this release..
That release should go out in the next hour.Forum: Plugins
In reply to: [Firelight Lightbox] Close button not working on mobile devicesGreat! I was about to write to say you do need to be sure you are running the latest version (2.2.0).
Wanted to follow up and confirm that we just released the fix for this as part of 2.2.0. Please feel free to check and confirm it is resolved.
I’m going to mark this issue as resolved now, but please feel free to let us know if you have other questions.
Thanks!
Forum: Plugins
In reply to: [Firelight Lightbox] Close button not working on mobile devicesOne more follow up to let you know we just pushed the release with this fix. It would be great if you get a chance to get and confirm it is working as expected.
For now, I’m going to mark this issue as resolved. But please fell free to let us know if you have other questions.
Thanks!
Forum: Plugins
In reply to: [Firelight Lightbox] Native WordPress Lightbox not workingHi Thomas,
Wanted to follow up on this and let you know we’ve just released an option that allows you enable/disable the core lightbox. It is still disabled by default. But you can enable it by going to Lightbox > Miscellaneous > Disable Core Lightbox, and unchecking that box.Between this new setting and the one above for to apply the lightbox only to images with links, you should be able to return fully to the prior behavior.
I’m going to mark this issue resolved, but definitely let us know if you have other questions.
Thanks!
Forum: Plugins
In reply to: [Firelight Lightbox] Does the plugin work with Woocommerce Product Page?Even though I know this isn’t the answer you’d like, I’m going to mark this as resolved/answered so we know there’s no additional action needed/possible on this thread. But please let us know if you have other questions.
Forum: Plugins
In reply to: [Firelight Lightbox] All images that are opened in Easy Fancy BoxGreat! I am going to mark this resolved. But please feel free to let us know if you have other questions.
Forum: Plugins
In reply to: [Firelight Lightbox] Close button not working on mobile devicesI wanted to follow up and confirm that a fix for this will be in the next release. Should be next week.
Forum: Plugins
In reply to: [Firelight Lightbox] Does the plugin work with Woocommerce Product Page?We’d love to do this and have looked at it. It is surprisingly more complicated than you might think, mostly because Woo has a lot of it’s own JS / behavior tied to images on product pages and elsewhere.
So for now, that’s not available. We hope it will be in the future, but have no time frame on that.
Forum: Plugins
In reply to: [Firelight Lightbox] Native WordPress Lightbox not workingHi,
We hear your frustration and apologize for the extra hassle.Both of the changes you mention are made in response to recent core changes – adding the lightbox and moving the setting to link images. They are designed, and we think have been effective/welcome by most, in making the lightbox extremely simple to use. You just install the plugin, and images/galleries open in the new lightbox. That’s the preferred behavior for most of our users. Hence the changes.
But obviously different users need different things, and we especially understand being annoyed that these are changes to prior default behavior.
On this one: “auto-enabled the lightbox for all images” … You can change that by going the Settings at Lightbox > Images > Apply To, and updating that setting to All Image Links instead of All Images.For disabling the core lightbox, we hadn’t added an option, but we’ll look at doing so for the next release. The expected time frame for that would be next week.
Thanks very much for your feedback.