• Resolved rdaane

    (@rdaane)


    Hi,
    I'm testing to see if I can migrate wordpress on mysql 5.8 to 8.
    I cloned the environment, and the tables to work. However creating a new table doesn't work.
    I deactivated an uninstalled the plugin and downloaded an re installed.
    The result was the same.

    Does tablepress work againse mysql 8?



    Foutdetails
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 1112 van het bestand /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-content/plugins/elementor/includes/template-library/sources/local.php. Foutmelding: Uncaught TypeError: Elementor\TemplateLibrary\Source_Local::on_save_post(): Argument #2 ($post) must be of type WP_Post, null given, called in /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/class-wp-hook.php on line 326 and defined in /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-content/plugins/elementor/includes/template-library/sources/local.php:1112
    Stack trace:
    #0 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/class-wp-hook.php(326): Elementor\TemplateLibrary\Source_Local->on_save_post()
    #1 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/post.php(4891): do_action()
    #4 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-content/plugins/tablepress/models/model-post.php(127): wp_insert_post()
    #5 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-content/plugins/tablepress/models/model-table.php(395): TablePress_Post_Model->insert()
    #6 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-content/plugins/tablepress/controllers/controller-admin.php(901): TablePress_Table_Model->add()
    #7 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/class-wp-hook.php(324): TablePress_Admin_Controller->handle_post_action_add()
    #8 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #9 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-includes/plugin.php(517): WP_Hook->do_action()
    #10 /mnt/web211/b1/13/512287913/htdocs/wordpress/test/app/wp-admin/admin-post.php(85): do_action()
    #11 {main}
    ? thrown
Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    TablePress does not interact directly with the database, but only uses WordPress’ wrapper functions. Therefore, I can’t see how there would be any problems with updating the database.

    Now, in your error message, the error is actually not caused by TablePress, but by the Elementor plugin hooking into WordPress’ method for saving data to the database.

    To confirm if TablePress works, I would therefore suggest to try again with Elementor deactivated (and e.g. use a WordPress default theme like Twenty Twenty-Four).

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.