Skip to content

PHP Fatal error: Uncaught Error: Call to undefined method TablePress_Admin_Controller #7

Description

Hey there,

When copying a page I got this error.

Error:

PHP Fatal error: Uncaught Error: Call to undefined method TablePress_Admin_Controller::shortcode_table() in /wp-content/plugins/tablepress/controllers/template-tag-functions.php:28

Stack trace:\n#0 /wp-content/plugins/acf-tablepress/tablepress-v5.php(97)

The plugin Yoast Duplicate Post was used for copying pages.

List of plugins involved:
ACF
TablePress
ACF - TablePress
Yoast Duplicate Post

Result: Instead of landing on the new duplicated page, you get a 404 error. However, when returning to the Pages overview, the page was duplicated correctly. Still, it is a very visible error that disturbs the workflow.

On pages without a table, it does not throw the error.

Solution: My solution for this problem was to install Duplicate Page and Post, a different duplicating plugin.

I don't have a direct request for you. But I wanted to notify you about this error and prevent others from spending time troubleshooting this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions