• klabauter18055

    (@klabauter18055)


    Hello,
    after copying my website to localhost, I get the following error messages, which I can’t get any further with:

    1. 1. Warning: Undefined property: TPLC_Admin_Notices :: $ notices in ……. \ wp-content \ plugins \ child-theme-check \ includes \ admin \ class-tplc-admin-notices.php on line 103
    2. 2. Warning: Trying to access array offset on value of type null in ….. \ wp-content \ plugins \ child-theme-check \ includes \ admin \ class-tplc-admin-notices.php on line 103
    3. 3. Fatal error: Uncaught TypeError: call_user_func_array (): Argument # 1 ($ function) must be a valid callback, second array member is not a valid method in … \ wp-includes \ class-wp-hook.php: 287 Stack trace: # 0 C: \ xampp \ htdocs \ ….. \ wp-includes \ class-wp-hook.php (311): WP_Hook-> apply_filters (NULL, array) # 1 C: \ xampp \ htdocs \ ….. \ wp-includes \ plugin.php (484): WP_Hook-> do_action (array) # 2 C: \ xampp \ htdocs \ … \ wp-admin \ admin-header.php (292 ): do_action (‘admin_notices’) # 3 C: \ xampp \ htdocs \ ….. \ wp-admin \ index.php (115): require_once (‘C: \\ xampp \\ htdocs …’) # 4 {main} thrown in C: \ xampp \ htdocs \ … \ wp-includes \ class-wp-hook.php on line 287

    Can it be related to the fact that I am using PHP version 8.0.1 locally and version 7.4 online?

    Greetings from the Baltic Sea
    Andreas

Viewing 1 replies (of 1 total)
  • RossMitchell

    (@rossmitchell)

    This is quite likely a PHP 8 related problem.
    Most likely your plugin: child-theme-check is not suitable for PHP 8
    Suggest that you disable this plugin and test again.
    To disable a plugin:
    – if you can login as administrator the just disable in the dashboard
    – Otherwise, browse your files and rename the plugin directory

Viewing 1 replies (of 1 total)
  • The topic ‘TPLC_Admin_Notice’ is closed to new replies.