-
AuthorPosts
-
January 13, 2019 at 6:38 pm #1053392
Hello,
we have a problem with the “Load More” on smartphones on our sites.
If you press “Load More” (Masonry) on the smartphone, nothing happens or it takes 20 seconds before the following items are loaded.
The problem is with iPhone and Android.
Everything works as it should on the PC.
thank you for your help
January 15, 2019 at 3:17 am #1053918Hey Florian,
Thank you for using Enfold.
The button is not working because the admin-ajax.php file is blocked or the access to it is forbidden.
/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 403 (Forbidden) jquery.js?ver=1.12.4:4 POST https://phototravellers.de/wp-admin/admin-ajax.php 403 (Forbidden)
Please disable the plugins temporarily and ask your hosting provider if the mod-sec rule is blacklisting the said file.
Best regards,
IsmaelJanuary 15, 2019 at 2:20 pm #1054128Hi Ismael,
I have send the provider a request: There is no lock.
We found out something else:
The problem occurs on all devices, smartphone and PC.
Only if I am logged in as Admin, everything works as it should.
best regards
Florian- This reply was modified 5 years, 10 months ago by flocco21.
January 17, 2019 at 3:48 pm #1055024Hi,
Have you installed any security or Caching plugins such as Wordfence or WP Super Cache?
One of the plugins is causing an issue with the ajax file.
To find which plugin is causing the conflict please follow these steps:
1. Go to your plugins page > Deactivate all active Plugins
2. Update WordPress and Enfold to the latest version if you have not.
3. Make sure all the plugins are updated.
4. If the problem does not persist when plugins are turned off, activate one plugin at a time and refresh until you find the plugin in conflict.We await the results of your plugin compatibility test.
Thanks for your cooperation :)
Best regards,
VinayJanuary 18, 2019 at 3:23 am #1055316Hi Vinay,
we use Borlabs Cache. This is also the plugin that generates the problem.What can we do?
I think we need a cache plugin. Do we need to change something in the settings or do we need another plugin? Do you have any advice?
best regards
FlorianJanuary 19, 2019 at 12:18 pm #1055842Hi Florian,
Does your caching plugin have an option to exclude files? If so then please select to exclude jquery.js.
Best regards,
RikardJanuary 19, 2019 at 3:36 pm #1055867Hi Rikard,
I’m not sure, please have a look at the screenshot of the Cache-Settings
best regards
FlorianJanuary 19, 2019 at 4:52 pm #1055892Hi Rikard,
Borlabs writes:
Excluding JS files is not possible and should not be necessary, because if a merge error occurs, 99% of the time it means that the JavaScript already contained an error somewhere before.
It would also be important to clarify whether “nonces” are in use, they can not be cached.
Do you have any idea?
Best regards
Florian- This reply was modified 5 years, 10 months ago by flocco21.
January 19, 2019 at 5:22 pm #1055902Borlabs writes:
yes, that is because there is a query that is no longer valid. There is usually a nonce in the game, such pages can not be cached or only with very short cache life, which makes caching practically unnecessary. Nothing can be done on my site, sorry.
January 20, 2019 at 3:14 pm #1056163So,
I changed the Cache-Plugin from Borlads to WP Rocket. That works! :)
-
AuthorPosts
- You must be logged in to reply to this topic.