Essential Grid lightbox not loading post content

Hi there,

When I’m using the essential grid and I select the post content to show in the lightbox, I get the message that the content is not available.

I’ve tried this on multiple browsers/networks but no luck. My plug-in, theme and wordpress are all up to date.

Thanks

Sam

Hi Sam,

Thanks for writing in! When testing your referenced links, I see that you’re getting a [HTTP/2.0 404 Not Found when loading light-box.

/wp-admin/admin-ajax.php?action=Essential_Grid_Front_request_ajax&client_action=load_post_content&token=f3fd5340f6&postid=2348&settings={%22featured%22:%22https://example.com/wp-content/uploads/2018/03/13336092_1701175756766811_6186174089377115516_n-1.png%22,%22titl%22:%22Test%20trader%22,%22lbTitle%22:%22off%22,%22lbTag%22:%22h1%22,%22lbImg%22:%22on%22,%22lbMargin%22:%220|50|0|50%22,%22lbWidth%22:%2250%22,%22lbPos%22:%22top%22,%22lbMin%22:%2280%%22,%22lbMax%22:%2275%%22,%22margin%22:%220|0|0|0%22,%22padding%22:%220|0|0|0%22,%22overflow%22:%22auto%22,%22ispost%22:1,%22gridid%22:5}&esgbox=true

I see that you have around 34 active plugins and since it’s your live site, we need your permission to disable your plugins etc or you need to troubleshoot this issue further by deactivating your 3rd party plugins.

If the issue persist, try regenerating your permalink settings by head over to Settings -> Permalinks area. You just need to select the option postname and save the changes to reset your your .htaccess files.

Let us know how it goes.
Thanks!

I tried both of the above options but had no luck with it, but please do what you need to, permission granted, thank you!

Hey Sam,

This might have something to do with your web host blocking admin-ajax.php. Please ask you host if there is any issue related to WordPress’ admin-ajax. Please tell us their findings and also give us FTP access.

Thanks.

The issue was with the host, as follows:

I have found the reason of the error. It appears that it is Mod_Security block. Mod_security is an Apache module that helps to protect your website from various attacks. Mod_Security is used to block commonly known exploits by use of regular expressions and rule sets. We installed a Mod_Security for increasing the security of our servers. It is an Apache module which works as a web application firewall. It blocks known exploits and provides protection from a range of attacks against web applications. Its activity may cause such issues from time to time, when requests sent to the server match with mod_sec rules. Sometimes such requests are false-positive.

All fixed now, thanks for your help!

Glad you were able to resolve it :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.