• When I try to create a new page (using the Add Page button on the right of existing pages), the ajax request is not completing and I’m left with an infinite spinner. Here are the console messages:

    • Failed to load resource: the server responded with a status of 500 (Internal Server Error) https://www.cappellaniauniroma3.org/wp-admin/admin-ajax.php
    • APM AJAX Error on tree_add_new_node : error tree.js?ver=1.4:262
    • APM AJAX JSON answer : {“ok”:1,”error”:””,”insert_type”:”insert_child”,”new_node”:799,”action”:”apm_tree_actions”} tree.js?ver=1.4:264
    • Error thrown : Internal Server Error tree.js?ver=1.4:265
    • Object abort: (a)always: ()complete: ()done: ()error: ()fail: ()getAllResponseHeaders: ()getResponseHeader: (a)overrideMimeType: (a)pipe: ()progress: ()promise: (a)readyState: 4responseJSON: ObjectresponseText: “{“ok”:1,”error”:””,”insert_type”:”insert_child”,”new_node”:799,”action”:”apm_tree_actions”}”setRequestHeader: (a,b)state: ()status: 500statusCode: (a)statusText: “Internal Server Error”success: ()then: ()__proto__: Object

    https://www.ads-software.com/plugins/advanced-page-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    I just tried adding pages on WP 4.4. I added one before, one after, and one sub-page. I didn’t receive an error for any of these tests. Perhaps there is something conflicting with your particular setup.

    A few questions:

    1. What theme are you using?
    2. What version of WordPress?
    3. Are you adding a sub-page and if so, how deep?
    Thread Starter JohnRDOrazio

    (@lwangaman)

    After refreshing the page, I notice the new page was created but without the title (it was something generic like “-new page-“). I was able to edit the title of the page, and edit the contents, and move it to a new position. I wonder if the error had anything to do with the fact that the page title contained quotation marks?

    Thread Starter JohnRDOrazio

    (@lwangaman)

    I was adding a sub-page, depth only one level. Theme is buddypress generic theme which I created a child theme for. WordPress version 4.4.

    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    Thank you for the additional info. It does appear there’s a problem with titles that contain double quotes. I don’t get an error message, but I do get a never-ending spinner. And the page is created, but without the title I provided similar to what you described.

    I’ll start digging into this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ajax errors when trying to create new page’ is closed to new replies.