• Resolved TLM-C

    (@bastient)


    Hello, after adding 30 tables to my website I got a Problem.
    when I add shortcake to show table on a product page I get this error :

    Warning: json_decode() expects parameter 1 to be string, object given in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 326

    Notice: Trying to get property ‘colNumber’ of non-object in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 27

    Notice: Trying to get property ‘rowNumber’ of non-object in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 28

    Notice: Trying to get property ‘mergedCells’ of non-object in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 29

    Notice: Trying to get property ‘colHeaders’ of non-object in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 30

    Fatal error: Uncaught TypeError: Argument 1 passed to WPDataTableRows::setColHeaders() must be of the type array, null given, called in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 30 and defined in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php:92 Stack trace: #0 /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(30): WPDataTableRows->setColHeaders(NULL) #1 /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(334): WPDataTableRows->__construct(Object(stdClass)) #2 /home/tlmmphnt/www/wp-content/plugins/wpdatatables/controllers/wdt_functions.php(539): WPDataTableRows::loadWpDataTableRows(’35’) #3 /home/tlmmphnt/www/wp-includes/shortcodes.php(343): wdtWpDataTableShortcodeHandler(Array, ”, ‘wpdatatable’) #4 [internal function]: do_shortcode_tag(Array) #5 /home/tlmmphnt/www/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wpdata…’, ‘do_shortcode_ta…’, ‘<tabl in /home/tlmmphnt/www/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 92
    Il y a eu une erreur critique sur ce site.

    how could I fix this ?
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when adding Shortcode to Product page’ is closed to new replies.