bobby.noonan
Forum Replies Created
-
Viola! I think it works. I had to remove all of the other code that you suggested, and used your code (but had to add a semi-colon at after the str_replace):
add_filter('rest_url', function($url) { $url = str_replace('www.***.com', 'admin.***.com', $url); return $url; });
Thank you again for all your help with this. I’m glad that I can now continue to update the plugin with the latest version, and not have to worry about issues. Take Care.
got rid of that error code, but now I’m seeing:
VM139754:1 GET https://admin.***.com/aiarc/v1/get/12807 404
- This reply was modified 3 years, 2 months ago by bobby.noonan.
www.***.com/wp-json doesnt have anything. admin.***.com/wp-json has code
I tried that, no luck. I also tried:
?add_filter( 'wp_headers', 'send_cors_headers', 11, 1 ); function send_cors_headers( $headers ) { $headers['Access-Control-Allow-Origin'] = $_SERVER[ 'HTTP_ORIGIN' ]; return $headers; }
Here is another screen shot of the dev console:
https://ibb.co/CV5gJt1Thanks again for taking the time to try and help. I’m hoping that if we figure out the issue, it might help someone else down the line.
all of the items in red within the network tab are:
11645 – 404 – xhr – VM31946:1
crop – CORS error – xhr – VM31946:1Here is a screen shot the error I mentioned above: https://ibb.co/nBD2yz6
I don’t believe we are using REST API in any other way. Super weird. I’ve tried creating some CORS rules within .htaccess, but to no avail.
There was another person that was running into a similar issue: https://www.ads-software.com/support/topic/failed-to-crop/
One of the errors I am seeing is:
`Access to XMLHttpRequest at ‘https://www.***.com/wp-json/aiarc/v1/crop’ from origin ‘https://admin.***.com’ has been blocked by CORS policy: Request header field x-aiarc-nonce is not allowed by Access-Control-Allow-Headers in preflight response.
Hey, really appreciate you getting back to me so quickly. Impressive to say the least. Good support goes a long way!
To give you a little background about our site — Our site is custom php (static), and we use wordpress to feed certain/specific sections on the site. So, wordpress is installed in a different directory than the other site files. www.***.com vs. admin.***.com.
It looks like the error message is showing www.***.com, when wordpress is within admin.***.com
- This reply was modified 3 years, 2 months ago by bobby.noonan.
I downgraded to 4.1.4, as someone else mentioned in the support forum. Everything works now. Hopefully you can update the plugin soon to fix this issue. Thanks!
Forum: Plugins
In reply to: [WP Customer Area] Page Templatethanks!!
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Display whole Page or Whole Post in tabThere is an option within WP-UI’s settings…under the Posts Tab. If you go to the bottom, you can switch out the different tags within the template. So, you would replace {$excerpt} with {$content}…
Where I’m having a problem is with the styling of the content. The accordion isnt picking up my paragraphs, so everything is showing up on one line
Use this link if the one above doesn’t work…Because after the update, the link above didn’t work for me…
https://www.ads-software.com/support/topic/excusion-of-ai1ec_event-in-the-event-detail-url?replies=8Forum: Plugins
In reply to: [Callback Request] Autofill information based on login credentialsI might need help with this…How should I contact you off this thread?
Forum: Plugins
In reply to: [WP Modal Login] Register Link not appearing in widgetYes, I have the registration enable within my network admin. Is it possible my theme is preventing this?
Same problem here..any idea when this will be fixed?