• Resolved AiratVibe

    (@airathalitov)


    Fatal error when I try to activate this plugin

    
    Warning: fopen(wc4bp): failed to open stream: No such file or directory in /site_path/wp-includes/functions.php on line 4783
    
    Warning: fread() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4786
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4789
    
    Fatal error: Uncaught Error: Call to undefined method WC4BP_Required_PHP::satisfied() in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php:83 Stack trace: #0 /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php(34): WC4BP_Loader->__construct() #1 /site_path/wp-admin/includes/plugin.php(1882): include('/home/admin/web...') #2 /site_path/wp-admin/plugins.php(164): plugin_sandbox_scrape('wc4bp/wc4bp-bas...') #3 {main} thrown in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php on line 83

    WordPress 4.7.3
    BuddyPress 2.8.2
    WooCommerce 2.6.14
    WooCommerce BuddyPress Integration 3.0.3
    PHP 7.1.3-3+deb.sury.org~xenial+1

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor gfirem

    (@gfirem)

    Hi, i hope you are doing well today. Can you try please to re-save your user. I can try to reply the error and it dont fail, can you please provide more info, is in the free or the pro version?

    Cheers.

    Thread Starter AiratVibe

    (@airathalitov)

    @gfirem

    1. How can i “re-save your user”?

    2. It’s free version

    • This reply was modified 7 years, 8 months ago by AiratVibe.
    Plugin Contributor gfirem

    (@gfirem)

    Edit your admin user and save it. Can you check that files exist in the plugin folder?

    Thread Starter AiratVibe

    (@airathalitov)

    I have installed plugin from official wordpress repository (with using admin pannel).

    Thread Starter AiratVibe

    (@airathalitov)

    @gfirem
    Do you using php 7.1.3?

    Plugin Contributor gfirem

    (@gfirem)

    @airathalitov iam using 7.1.1. Do you testing in a production site or staging. Do you try with a different template. Is possible to connect to your site.

    Thread Starter AiratVibe

    (@airathalitov)

    Do you testing in a production site or staging.

    Production site

    Do you try with a different template.

    No

    Is possible to connect to your site.

    No

    Edit your admin user and save it.

    Done, but it’s not working

    Can you check that files exist in the plugin folder?

    All wc4bp-plugin files are exist in plugin folder

    Here is WP_DEBUG-log:

    [31-Mar-2017 11:03:17 UTC] PHP Notice:  Undefined offset: 1 in /site_path/wp-content/plugins/wpglobus/vendor/bemailr/wp-requirements/includes/class-wp-requirements.php on line 133
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fopen(wc4bp): failed to open stream: No such file or directory in /site_path/wp-includes/functions.php on line 4783
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4786
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4789
    [31-Mar-2017 11:03:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WC4BP_Required_PHP::satisfied() in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php:83
    Stack trace:
    #0 /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php(34): WC4BP_Loader->__construct()
    #1 /site_path/wp-admin/includes/plugin.php(560): include_once('/home/admin/web...')
    #2 /site_path/wp-admin/plugins.php(42): activate_plugin('wc4bp/wc4bp-bas...', 'https://site.b...', false)
    #3 {main}
      thrown in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php on line 83

    I can install and activate version 3.0 (from your github repository) and then update plugin to 3.0.3. But if I will deactivate 3.0.3 and then try to activate again – plugin get fatal error.

    • This reply was modified 7 years, 8 months ago by AiratVibe.
    Thread Starter AiratVibe

    (@airathalitov)

    Do you testing in a production site or staging.

    Production site

    Do you try with a different template.

    No

    Is possible to connect to your site.

    No

    Edit your admin user and save it.

    Done, but it’s not working

    Can you check that files exist in the plugin folder?

    All wc4bp-plugin files are exist in plugin folder

    Thread Starter AiratVibe

    (@airathalitov)

    Here is WP_DEBUG-log:

    [31-Mar-2017 11:03:17 UTC] PHP Notice:  Undefined offset: 1 in /site_path/wp-content/plugins/wpglobus/vendor/bemailr/wp-requirements/includes/class-wp-requirements.php on line 133
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fopen(wc4bp): failed to open stream: No such file or directory in /site_path/wp-includes/functions.php on line 4783
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4786
    [31-Mar-2017 11:03:17 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /site_path/wp-includes/functions.php on line 4789
    [31-Mar-2017 11:03:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WC4BP_Required_PHP::satisfied() in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php:83
    Stack trace:
    #0 /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php(34): WC4BP_Loader->__construct()
    #1 /site_path/wp-admin/includes/plugin.php(560): include_once('/home/admin/web...')
    #2 /site_path/wp-admin/plugins.php(42): activate_plugin('wc4bp/wc4bp-bas...', 'https://site.b...', false)
    #3 {main}
      thrown in /site_path/wp-content/plugins/wc4bp/wc4bp-basic-integration.php on line 83
    Thread Starter AiratVibe

    (@airathalitov)

    I can install and activate version 3.0 (from your github repository) and then update plugin to 3.0.3. But if I will deactivate 3.0.3 and then try to activate again – plugin get fatal error.

    Plugin Contributor gfirem

    (@gfirem)

    Hi, i will install the plugins wpglobus and check for any incompatibility.

    Thread Starter AiratVibe

    (@airathalitov)

    Ok

    Plugin Author Sven Lehnert

    (@svenl77)

    Hi @airathalitov

    we have just released a new version 3.0.4 which should fix your issue. Thank you for all your feedback. Please test against this version and let us know if you run into any issue.

    Cheers,
    Sven

    Thread Starter AiratVibe

    (@airathalitov)

    @svenl77 @gfirem

    Now plugin activation is working good (version 3.0.4)

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Fatal error when I try to activate this plugin’ is closed to new replies.