Okay
  Public Ticket #1680598
Invalid JSON response.
Closed

Comments

  • Volker Winkler started the conversation

    We purchased and installed the plugin in our wordpress backend. When we try to create a table manually the following error message comes up:


    DataTables warning: table id=table_1 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1


    We tried to follow the steps in the linked article, but we could not resolve the error. The output of the chrome web debugger is the follwing:


    <br />
    <b>Notice</b>:  Trying to get property of non-object in <b>/is/htdocs/wp13122670_FXMSLE7KFR/www/wp13122670_wpr858l/wp-9da96-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php</b> on line <b>54</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$possibleValuesType in <b>/is/htdocs/wp13122670_FXMSLE7KFR/www/wp13122670_wpr858l/wp-9da96-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php</b> on line <b>54</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$possibleValuesType in <b>/is/htdocs/wp13122670_FXMSLE7KFR/www/wp13122670_wpr858l/wp-9da96-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php</b> on line <b>54</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$possibleValuesType in <b>/is/htdocs/wp13122670_FXMSLE7KFR/www/wp13122670_wpr858l/wp-9da96-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php</b> on line <b>54</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$possibleValuesType in <b>/is/htdocs/wp13122670_FXMSLE7KFR/www/wp13122670_wpr858l/wp-9da96-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php</b> on line <b>54</b><br />
    {"draw":1,"recordsTotal":"0","recordsFiltered":"0","data":[]}


    Your suggested method of checking the output resulted in the following:


    Error: Parse error on line 1:
    < br / > < b > Not
    ^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'


    I am not sure which file I need to edit to fix the problem. Could you assist us with that?



  •  472
    Isidora replied

    Hi Volker,
    Thank you for your purchase.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Best regards

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •   Volker Winkler replied privately
  •  472
    Isidora replied

    Hi Volker,

    Yes we notice that. Your server is set to throw any php errors, notices in response of the ajax and that is the reason why you can't make a manual table. We change some code in our plugin and now it is working fine. We made table Support to test it and you can see that is working fine.

    This changes in code will be included in next update so you don't have to worry about that.

    Sorry for inconvenience,

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  • Volker Winkler replied

    Thank you very much for fixing the problem! I created a new table and now everything works fine.

  •  472
    Isidora replied

    Hi Volker,

    You are welcome.  Glad that we help you to solve the issue.

    If you have any more issues or questions feel free to open a new ticket, we will gladly help.

    If you are satisfied with our support, we'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. It means to us.Thanks! 

    Have a nice day.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables