-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pods 2.5 There was a server error with your AJAX request @Bi-directional field #2511
Comments
@quasel Let me log in to their site to see the error in progress. It's happening when trying to set the bi-directional field in a pick field related to users. Error must be originating in |
This seems related to the display_errors default setting flip in 2.5 |
Same issue with CPT - should i open a new Issue? |
@quasel Are you testing with the 2.X branch as it stands today and WordPress 4.1? I can't reproduce this locally with it, but maybe something else is going on for you. |
Seems this isn't solved entirely - it works for me with 2.5 (live and dev) but we had a report @slack support chat where this still happens ... @jamesgol did mention e8f5037#diff-f01d16819fcb44038b25d9cbc5778c56R1455 as starting point |
Yes I can confirm. Still an issue. |
Check the JS console and let us know what you see, we are writing d (the return data) and json (the parsed json object from the return data) to the console for debug purposes on this specific error. |
console.log( d ) prints: [] If there is nothing eligible to be a bidirectional relationship on the sister pod it returns an empty object, so jQuery.isEmptyObject( json ) will be truthy and it'll print that error. Is that maybe supposed to be && instead of ||? |
Fixed via #2693 |
Edit Pod -> ACT -> Related Pod -> happens only for WP User/Cat/etc ...
JS Console:
Fatal error: Uncaught exception 'Exception' with message 'Related Pod not found' in /var/www/vhosts/just4us.eu/mq.just4us.eu/wp-content/plugins/pods/includes/general.php:145
Stack trace:
#0 [internal function]: pods_error(Object(Exception))
#1 {main}
thrown in /var/www/vhosts/just4us.eu/mq.just4us.eu/wp-content/plugins/pods/includes/general.php on line 145 (edited)
The text was updated successfully, but these errors were encountered: