Okay
  Public Ticket #3594433
wpdatatable.php
Closed

Comments

  • Erica Johnson started the conversation

    I added a code snippet to run an insert query when a form is submitted. When I go back to pages where I don't have forms, just data tables, I see this error and the tables do not render.

    Warning: Undefined array key "table" in /srv/htdocs/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 2324

  • Erica Johnson replied

    I also deactivated this snippet and I still see this message. So I am not sure it is the snippet but I don't know what else it could be

  • Erica Johnson replied

    When I come view my data tables from the dashboard I see this error now Warning: Undefined property: stdClass::$response in /wordpress/plugins/wpcomsh/3.14.51/feature-plugins/managed-plugins.php on line 539

  •  1,846
    Miloš replied

    Hi Erica,

    1. Can you confirm do you have the latest wpDataTables 6.2.1 installed?

    If not, please update it , then purge cache and let me know if the same php warnings come up.


    2. If you already have the latest Plugin version, can you confirm the WP version and the installed PHP version on the Hosting server?

    You can check this in our plugin's dashboard under the system info.


    3. We will pass these warnings to our developers.

    They are 'ironing out' all the PHP warnings/notices over time.


    4. Do you have the WP_DEBUG enabled on your Site?

    It is possible to see some PHP Warnings on specific PHP Versions,  but you should not have any functionality issues.

    If that is a Live/Production version of the Site, it is recommended to disable WP_DEBUG, because it looks unprofessionally to show PHP warnings/notices on a Live Site, that is just for Staging/Development Sites.

    So check if the WP_DEBUG is enabled, in that case disable it, and check if the warning disappears?

    Let me know how it goes.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables