Skip Navigation

[Gelöst] XMLHttpRequest error on a views slider

This support ticket is created vor 6 Jahre, 12 Monate. There's a good chance that you are reading advice that it now obsolete.

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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 Antworten, has 2 Stimmen.

Last updated by Chris vor 6 Jahre, 11 Monate.

Assisted by: Beda.

Author
Artikel
#518441

Hi there, I'm trying to create a simple slider with "views" with the setting of "Pagination enabled with automatic AJAX transition" enabled, this slider is supposed to show the contents of a custom post type, when I create the page with the views shortcode it shows the first slide just fine but when I click the next button or wait the 5 seconds (when the slider is supposed to change), the console throws me this error:

"XMLHttpRequest cannot load hidden link. Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response."

I Might add that I am worinng on a multisite network, please, can you help me to fix this situation

#518530

Do you perhaps use Server Settings that do not allow those requests?

It is working fine locally and on other Sites.

Can you try this locally on a Local Server? If that works, it's most likely a Server Setting.

If that also does not work, it might be an issue with your specific Site, or some other Plugin or Theme interferring.
Those should then be disabled to doublecheck that.

Can you feedback to me about the results?

#519888

Well sadly I find my way through it using an slider plugin, but never find the solution to this, I don't think that is a server issue because I got views sliders running in other sites on the multisite network so I think that I'd be an incompatibility with another plugin or theme.

#525492

Hello, again I'm having the same XMLHttpRequest error, this one is a completely different site and but now I am trying to make a filtered search, here is the link

hidden link

I am certain that is not a server configuration because this same view works fine in other sites. so please can you point me in what I can do to solve this problem.

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