• Resolved xaome

    (@xaome)


    Hi,

    I am using an Advanced Content Type, and for each new post I create, I need to be able to reorder the group fields and save the custom order. I am currently able to reorder them, but when I save it reverts to the order created in the manage pods form.

    I don’t get this issue when I try with a custom post type instead.

    In the developper tools headers tab it says 403 forbidden on admin-ajax.php.
    And here is the payload I get in the Network tab:

    1. action: meta-box-order
    2. page_columns: 0
    3. page: toplevel_page_pods-manage-xao_newsletter
    4. order[side]: submitdiv,navigatediv
    5. order[normal]: pods-meta-box-parametres,pods-meta-box-entete,pods-meta-box-nouvelles,pods-meta-box-les-critiques-de-shows-de-la-semaine,pods-meta-box-publicite-1,pods-meta-box-entrevues,pods-meta-box-publicite-2,pods-meta-box-evenements,pods-meta-box-administration

    And here is the code that seems to cause the error when looking in the console log:

    o = o(“abort”);
    try {
    r.send(i.hasContent && i.data || null)
    } catch (e) {
    if (o)
    throw e
    }

    How to solve this issue?

    Thanks!



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Paul Clark

    (@pdclark)

    403 forbidden on admin-ajax.php indicates that the server is rejecting the request to save the data with a response “Not Authorized”. This is usually indicative of overly zealous firewall plugins or hosting configurations, such as WordFence or mod-security configuration in Apache on the hosting end. Try disabling, verifying, or reconfiguring security plugins if any are installed. If not, check with your host to see if they have any security configurations that might reject requests to wp-admin/admin-ajax.php

    Thread Starter xaome

    (@xaome)

    Hi Paul,

    Thanks for your reply!

    I don’t have any firewall like Wordfence installed on the site and my hosting provider says that there is no configurations that he thinks of which could reject the requests. I don’t know if mod security is enabled on Apache, but just in case I added a rule to disable it but it didn’t solve the problem.

    I ended up transfering my Pods fields from advance post type to a standard WordPress custom post type, since on those the requests are not blocked.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot reorder group fields’ is closed to new replies.