Skip to content

Error on Wordpress update core admin page #624

@vHeemstra

Description

@vHeemstra

This is the error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Mollie\WooCommerce\Activation\ActivationModule' does not have a method 'mollieDeleteWPTranslationFiles' in /var/www/vhosts/domain.com/wp-includes/class-wp-hook.php on line 307 (this is in the apply_filters function)

Issue:
I think this is the bug:

add_action('core_upgrade_preamble', [$this, 'mollieDeleteWPTranslationFiles']);

It adds an action hook using method mollieDeleteWPTranslationFiles on $this, which is not defined in this class.

Plugin:
Mollie Payments for WooCommerce

Version:
7.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions