error 500 when try tu update page with HTML [wpdatatable id=xx]
-
Hi
I instaled lite version of wpDataTables.
I’m able to add html code like [wpdatatable id=3] and save the page or post.
But when i try to update this page next time i always got error 500
To eliminitane any customization as a root cause I created simple and empty table 2×2.
result with basic table is the same,
Tested on two wordpress website.
The only way to eliminate error is to delete tables created at wpDataTables.
Additionally I’ve got email with error description:WordPress w wersji 5.6
Aktualny motyw: Level Up childe of OceanWP (wersja 1.9.0) Aktualna wtyczka: wpDataTables – Tables & Table Charts (wersja 2.1.7) Wersja PHP: 7.3.26Szczegó?y b??du
===================
B??d typu E_ERROR zosta? spowodowany w linii 92 pliku /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php. Komunikat b??du: Uncaught TypeError: Argument 1 passed to WPDataTableRows::setColHeaders() must be of the type array, null given, called in /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php on line 30 and defined in /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php:92
Stack trace:
#0 /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(30): WPDataTableRows->setColHeaders(NULL)
#1 /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/source/class.wpdatatablerows.php(334): WPDataTableRows->__construct(Object(stdClass))
#2 /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-content/plugins/wpdatatables/controllers/wdt_functions.php(539): WPDataTableRows::loadWpDataTableRows(‘1’)
#3 /home/serverXXXXXX/ftp/wordpress/wpn_AAAAAAAAA/wp-includes/shortcodes.php(343): wdtWpDataTableShortcodeHandler(Array, ”, ‘wpdatatable’)
#4 [intern
- The topic ‘error 500 when try tu update page with HTML [wpdatatable id=xx]’ is closed to new replies.