Title: Get error when use shortcode wpdadiehard
Last modified: January 24, 2020

---

# Get error when use shortcode wpdadiehard

 *  Resolved [charlesnguyen](https://wordpress.org/support/users/charlesnguyen/)
 * (@charlesnguyen)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/)
 * Hello,
    i get error message: “Updating failed. Error message: The response is
   not a valid JSON response.” when use shortcode wpdadiehard with table_name on
   page. But if i enter incorrect table_name, page can save.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/page/2/?output_format=md)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12364163)
 * Hi Charles,
 * Are you getting this error from the wpdadiehard shortcode? Or the wpdataaccess
   shortcode? Shortcode wpdadiehard Can you add a screenshot?
 * Best regards,
    Peter
 *  Thread Starter [charlesnguyen](https://wordpress.org/support/users/charlesnguyen/)
 * (@charlesnguyen)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12364259)
 * Hi Peter,
    I getting this error from the wpdadiehard shortcode. “order_list” 
   is table’name. [https://prnt.sc/qsoppr](https://prnt.sc/qsoppr)
 *  [charles godwin](https://wordpress.org/support/users/charlesgodwin/)
 * (@charlesgodwin)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12364379)
 * I currently don’t have an active wpdadiehard shortcode in use. I suspended work
   on a project front-end as I was in the middle of site migration and had a work
   around using old code. I intend to implement when your next release comes out.
 * Sorry I can’t help.
    But…I had a similar error show up a week ago when I used
   two standard wpdataaccess short codes on the same page. I redesigned to avoid
   the problem.
 * BTW I’ll be offline until Sunday
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12365914)
 * Hi Charles,
 * The plugin runs into this error when output is directly echoed to the screen.
   With the new editor this is no longer allowed. Output must be returned. I tought
   this error was fixed. I cannot reproduce it on my computer with the latest version
   of WP and the plugin.
 * Which version of the plugin are you using? And which WordPress version? Does 
   the page show the expected shortcode output?
 * Best regards,
    Peter
 *  [charles godwin](https://wordpress.org/support/users/charlesgodwin/)
 * (@charlesgodwin)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12366350)
 * I’m using WP 5.3.2 and WPDA 2.1 and, when possible, the block editor. It is working
   for me with single short code on a page. It does not like two of your shortcodes
   on a page. But I am not relying on that at the moment.
 * I will be offline for a few days starting later today.
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12366593)
 * Hello Peter,
 * I am having the same problem, even with one single [wpdadiehard] shortcode on
   a page.
 * I receive the same error message (of course in German):
    “Aktualisierung fehlgeschlagen.
   Fehlermeldung: Die Antwort ist keine gültige JSON-Antwort.”
 * [wpdataaccess], however, is working fine.
 * Best regards
 * Michael
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12366595)
 * —> WP 5.3.2, WPDA 2.7.3
 * Michael
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12367080)
 * Hi Michael,
 * You are on the latest releases and you’re still having this error. Can you give
   me some more info? Which Theme and editor are you using? I cannot reproduce this
   error and my computer. I would be grateful if you could give me some more info
   so that I can reproduce the error and fix it. Thanks in advance!
 * BTW, in the next version you add as many wpda shortcodes to a page as you like.
   You can even add two jQuery DataTables to a page using the same base table.
 * But let’s fix this fist… 🤔
 * Best regards,
    Peter
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370519)
 * Hi Peter,
    thanks for your fast response and apologies for my late answer – just
   arrived back from today’s business trip…
 * I am using “Pure Simple” theme as a child version. Straight forward with my own
   functions.php and a style.css also referring to the theme’s own one.
 * I have >40 registered choir members with different roles, a number of plugins
   including a partially self-written kind of “Doodle®” version and other databases
   in use. I am using jQuery and AJAX to replace just part of some pages, even by
   use of shortcode returns – everything working just fine.
    So, in a way, I know
   what I am doing…
 * I have just tried everything (static, parent/child, table) with nothing else 
   but trying wpdadiehard as a single shortcode on a new page instead of the wpdataaccess,
   which comes from the publisher.
 * (By the way, I have not yet been able to make static pages work in posts like
   you do in one of your videos – I am getting just a white page…).
 * So, when using the wpdadiehard shortcode I get the JSON error…
    With or without
   having it in the backend menu…
 * If I nevertheless open the page, I receive a PHP error message:
    call to undefined
   function …/wpdadiehard_convert_to_screen()
 * Is there eventually any prerequisite I forgot?
 * Best regards
 * Michael
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370533)
 * Here is it:
 * Fatal error: Uncaught Error: Call to undefined function WPDataAccess\Wordpress_Original\
   wpdadiehard_convert_to_screen() in …/wp-content/plugins/wp-data-access/WPDataAccess/
   Wordpress_Original/WP_List_Table.php:160 Stack trace: #0 …/wp-content/plugins/
   wp-data-access/WPDataAccess/List_Table/WPDA_List_Table.php(350): WPDataAccess\
   Wordpress_Original\WP_List_Table->__construct(Array) #1 …/wp-content/plugins/
   wp-data-access/WPDataProjects/List_Table/WPDP_List_Table_Lookup.php(53): WPDataAccess\
   List_Table\WPDA_List_Table->__construct(Array) #2 …/wp-content/plugins/wp-data-
   access/WPDataProjects/List_Table/WPDP_List_Table.php(43): WPDataProjects\List_Table\
   WPDP_List_Table_Lookup->__construct(Array) #3 …/wp-content/plugins/wp-data-acc
   in …/wp-content/plugins/wp-data-access/WPDataAccess/Wordpress_Original/WP_List_Table.
   php on line 160
    -  This reply was modified 6 years, 4 months ago by [Michael Finkenberger](https://wordpress.org/support/users/mitfi/).
    -  This reply was modified 6 years, 4 months ago by [Michael Finkenberger](https://wordpress.org/support/users/mitfi/).
    -  This reply was modified 6 years, 4 months ago by [Michael Finkenberger](https://wordpress.org/support/users/mitfi/).
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370624)
 * Hi Michael,
 * Thank you for the detailed information! I now understand it is missing the wpdadiehard_convert_to_screen()
   function. Not sure yet what the cause of the error is, but at least I know where
   to look at… 👀
 * I see what I can do and come back to you asap…
 * Best regards,
    Peter
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370676)
 * Hi Michael,
 * Your info might have helped me to solve the issue very quickly… I hope!
 * I patched the current version (2.7.3). Can you try to update?
 * You need to delete the plugin first. Before you do make sure you first unselect
   the checkboxes under “Uninstall” on the plugin settings page. Otherwise the plugin
   repository will be deleted when you uninstall.
 * Let me know if the problem is solved…
 * Best regards,
    Peter
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370819)
 * Hi Peter,
 * thanks a lot!
 * The json error is gone ;-))).
 * Now I do have the same (incorrect) behavior as in my other 1:n relation issue
   posted above…
 * **There are a few other things:**
    1. There is obviously some CSS behind your
   wpdadiehard-shortcode, which changes most (not all) of my …a href=… links to 
   a blueish color. 2. It will not work (editing and next-page) in page draft mode,
   the page needs to be published. 3. Like in the back-end, even if you say no-delete,
   which works for the very table, you will be able to delete the entries in the
   tables referred to by 1:n. 4. If the table referred to by 1:n has more than one
   page, sometimes, next page doesn’t word there (like in the backend).
 * Best regards
 * Michael
    -  This reply was modified 6 years, 4 months ago by [Michael Finkenberger](https://wordpress.org/support/users/mitfi/).
 *  [Michael Finkenberger](https://wordpress.org/support/users/mitfi/)
 * (@mitfi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12370864)
 * Hi Peter,
 * and one thing:
 * In the wpdadiehard frontend appearance, I see functional interference with another
   plugin called “WP Photo Album Plus” (uses often wppa in its names).
 * I am using a running filmonly-slideshow in the Banner of my theme, which is influenced
   by your shortcode (won’t move any more and the Lightbox behavior is different).
   
   Maybe a typo somewhere (wpda vs. wppa)?
 * Best regards
 * Michael
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/#post-12371619)
 * Hi Michael,
 * I checked the project files, there is no wppa string in WP Data Access. Might
   still be a typo! In wppa… 😉
 * Best regards,
    Peter

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/page/2/?output_format=md)

The topic ‘Get error when use shortcode wpdadiehard’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 16 replies
 * 4 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/get-error-when-use-shortcode-wpdadiehard/page/2/#post-12384422)
 * Status: resolved