Skip Navigation

[Resolved] conflict with Featured Image By Url jquery when views use ajax for page transiti

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Waqar 1 year, 1 month ago.

Assisted by: Waqar.


hidden link

Conflict with Featured Image By Url jquery when views use ajax for page transitions


hidden link


"So just contact the support and report it's removing jQuery. Say that other plugins need it."



Thank you for contacting us and I'd be happy to assist.

It seems that the plugin that you're using for the popup video, initializes its scripts when the page loads. But when the view's results have been updated through AJAX (i.e. without the page refresh/reload), those scripts are not re-initialized.

To troubleshoot this further and suggest the next steps, I'll need to see exactly how these elements are set up in the admin area.

Can you please share the temporary admin login details, in reply to this message?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.



Hi Brandon

Thank you for the video,

I don’t think the jquery error is related to the problem, I also could fix it by following the instruction shared in the initial response, so you no longer have both jquery not defined problem.

About Ajax, as we are not familiar with the toolset and the FIFU plugin there isn’t a different way to troubleshoot other than some conflict tests, but first, let me explain how Ajax is supposed to work.

When we call something using Ajax we need to use JS to make the Ajax request to admin-ajax.php URL and register a custom Ajax event, full details are located here hidden link the main issue with Ajax is related to dependences, for example, if in the initial page refresh you don’t need to use the video as your feature image the developer needs to make a validation in the Ajax request to ensure all necessary scripts are enqueued and it is what I believe is happening here.

From what I understood you are using the Featured Image from URL (FIFU) Premium plugin to generate featured images correct?

If so, the problem seems that the plugin fails on Ajax events, when the initial reload happens there is no video so there is no need to enqueue the video script but then Ajax happens the video JS tries to get triggered but the function doesn’t exist because the code file that has the function wasn’t enqueued.

You can validate the above by adding the video on page one and see if it will work, if so, the best solution is to contact the plugin developer and verify which JS code is required, then report the problem but as workaround, you can try to enqueue that JS file manually, the plugin developer would be able to give more information.

Let us know the result you got.
Best Regards
Patrick Freitas


From Featured Image By Url developer, Marcel: "So just contact the support and report it's removing jQuery. Say that other plugins need it."


Thank you for waiting, as I performed some tests and research around the challenge that you're having on your website.

I found the script that initiates the lightbox from the 'Featured Image from URL (FIFU) Premium' plugin in its file:

Toolset does offer an event 'js_event_wpv_pagination_completed' that can be used to execute some script after the AJAX pagination operation has been completed.

Based on this, you can include the following script in your view's "JS Editor" to reinstate the lightbox script:

jQuery( document ).on( 'js_event_wpv_pagination_completed ', function( $ ) {

						play=jQuery(this).find('a div div.fifu_play');


But before testing this, please make sure to temporarily disable all cache, optimization, and resource management plugins, so that its effect can be seen without any interference.

I hope this helps and please let me know how it goes.

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.