• Resolved James-Matthew

    (@defisive)


    Hello again, hope all is well. I have installed ethpress on multiple sites a few months ago, maybe longer anyhow I can’t get installed at the moment. I do have it installed on the same web server but I believe it’s an earlier version. If you can give me a hand with figuring out what is wrong, I appreciate it. As you well know ENS is blowing up right now thanks to the airdrop. This is basically a fresh site I am dealing with. So hear is the error. Thanks. I’ll be sure to hook you up. James

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "losnappas\Ethpress\losnappas\Ethpress\Plugin" not found in /home/my-domain-path/wp-includes/class-wp-hook.php:303 Stack trace: #0 /home/my-domain-path/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #1 /my-domain-path/wp-includes/plugin.php(470): WP_Hook->do_action() #2 /home/my-domain-path/wp-admin/plugins.php(193): do_action() #3 {main} thrown in /my-domain-path/wp-includes/class-wp-hook.php on line 303

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author lynn999

    (@lynn999)

    Hi,

    This

    "losnappas\Ethpress\losnappas\Ethpress\Plugin"

    As you can see the losnappas\Ethpress part is duplicated, but it shouldn’t be.

    It looks like this might be a bug on ethpress side, I’ll let you know how it turns out.

    Bharat

    (@chavodbharat)

    Hell Plugin Author

    I have the same kind of issue and I found the issue with plugin because plugin is using __NAMESPACE__ magic variable for the plugin path.

    Current code like:
    register_activation_hook( __FILE__, [ ETHPRESS_NS . ‘\\losnappas\\Ethpress\\Plugin’, ‘activate’ ] );

    You have to go to the plugin path: wp-content/plugins/ethpress/ethpress.php
    Remove ETHPRESS_NS constant from the file line number 118
    register_activation_hook( __FILE__, [ ‘\\losnappas\\Ethpress\\Plugin’, ‘activate’ ] ) after you can activate the plugin it will be work.

    @defisive you can apply above solution it will be working fine.

    • This reply was modified 3 years, 3 months ago by Bharat.
    • This reply was modified 3 years, 3 months ago by Bharat.
    Plugin Author ethereumicoio

    (@ethereumicoio)

    Hello,
    Thank you for reporting!
    It should be fixed in the 1.2.1 version published.
    Check it please.

    Thread Starter James-Matthew

    (@defisive)

    Yes, the new version works great. Thank You for the help. I really appreciate it. Please send me your Ethereum address to support@rebublicofwealthDOTcom

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error when Activated’ is closed to new replies.