• Resolved donsenilo1968

    (@donsenilo1968)


    When I try to activate the plugin, I get this error:

    Fatal error: Uncaught Error: Non-static method Wp_Ecards_Activator::wp_ecards_install() cannot be called statically in /data/web/e14661/html/apps/wordpress-121852/wp-content/plugins/wp-ecards-invites/includes/class-wp-ecards-activator.php:33 Stack trace: #0 /data/web/e14661/html/apps/wordpress-121852/wp-content/plugins/wp-ecards-invites/wp-ecards.php(42): Wp_Ecards_Activator::activate() #1 /data/web/e14661/html/apps/wordpress-121852/wp-includes/class-wp-hook.php(292): activate_wp_ecards() #2 /data/web/e14661/html/apps/wordpress-121852/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #3 /data/web/e14661/html/apps/wordpress-121852/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /data/web/e14661/html/apps/wordpress-121852/wp-admin/plugins.php(193): do_action() #5 {main} thrown in /data/web/e14661/html/apps/wordpress-121852/wp-content/plugins/wp-ecards-invites/includes/class-wp-ecards-activator.php on line 33

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author eCardWidget.com

    (@timsayshey)

    Hi,

    Thanks for letting me know about this! I’ll look into it.

    In the meantime can you tell me what other plugins you have activated right now?

    Thanks!

    Tim

    Plugin Author eCardWidget.com

    (@timsayshey)

    Also, what version of WordPress and PHP are you using?

    Thread Starter donsenilo1968

    (@donsenilo1968)

    I have WP 5.7.2 and PHP 8.0.

    Plugin Author eCardWidget.com

    (@timsayshey)

    Ah, looks like it was an issue with PHP 8.0. I fixed the bug and pushed a fix. You should be able to get version 1.3.6 which has the fix.

    Hope that helps!

    Thanks,

    Tim

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error at activation’ is closed to new replies.