Support » Plugin: SendPress Newsletters » Fatal Error on Multisite Activation

  • Resolved ina2n

    (@ina2n)


    I’m getting the following error on a WP multisite installation:

    Fatal error: Uncaught Error: Call to a member function add_cap() on null in /var/www/html/wp-content/plugins/sendpress/sendpress.php:769 Stack trace: #0 /var/www/html/wp-content/plugins/sendpress/sendpress.php(1779): SendPress::add_caps() #1 /var/www/html/wp-content/plugins/sendpress/sendpress.php(1703): SendPress::plugin_install() #2 /var/www/html/wp-includes/class-wp-hook.php(298): SendPress::plugin_activation(”) #3 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/html/wp-admin/plugins.php(166): do_action(‘activate_sendpr…’) #6 {main} thrown in /var/www/html/wp-content/plugins/sendpress/sendpress.php on line 769

    I have not tried deleting and re-installing. I thought you might want to know about this before I try to fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author itdoug

    (@itdoug)

    Can you send the information about the versions of WordPress, sql, and the plugins from this Kb?

    http://docs.sendpress.com/article/72-what-information-should-i-provide-for-a-support-ticket

    Here’s my status report from Woocommerce and the other info you requested. My mail server is not on the same machine as my web server.

    ### MySQL Version ###
    MariaDB: mysql Ver 15.1 Distrib 10.1.24-MariaDB, for Linux (x86_64) using readline 5.1

    ### Ports Open ###
    25
    80
    143
    443
    587

    ### WordPress Environment ###

    Home URL: https://ina2n.com
    Site URL: https://ina2n.com
    WC Version: 3.1.1
    Log Directory Writable: ✔
    WP Version: 4.8.1
    WP Multisite: ✔
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US

    ### Server Environment ###

    Server Info: nginx/1.10.2
    PHP Version: 7.1.5
    PHP Post Max Size: 32 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.21 Basic ECC

    SUHOSIN Installed: –
    Max Upload Size: 32 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 3.1.1
    WC Database Prefix: wp_

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (8) ###

    WooCommerce Stripe Gateway: by WooCommerce – 3.2.2
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.0.5
    WooCommerce Services: by Automattic – 1.6.2
    WooCommerce: by Automattic – 3.1.1
    ImageInject: by Thomas Hoefter – 1.15
    EWWW Image Optimizer: by Shane Bishop – 3.6.0
    INA2N Dealer Inventory Import Plugin: by IN Automotive Advertising Network – 1.19
    MultiSite Clone Duplicator: by Julien OGER
    Pierre DARGHAM
    David DAUGREILH
    GLOBALIS media systems – 1.4.1

    ### Theme ###

    Name: INA2N Child Theme
    Version: 3.0.26
    Author URL: https://ina2n.com
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 3.0.65
    Parent Theme Author URL: http://www.elegantthemes.com
    WooCommerce Support: ✔

    Plugin Author itdoug

    (@itdoug)

    Since SendPress won’t activate, can you tell me what version you have for that? Going to have a developer take a look at this.

    Version 1.8.7.14

    Plugin Author Josh Lyford

    (@joshl)

    I think i have a fix for this and should hopefully have it published tonight or tomorrow.

    Best,
    Josh

    Thank you. I will update in a couple days.

    Fixed it! The latest update fixed it. I activated on 2 different WP multisites. No issues. Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error on Multisite Activation’ is closed to new replies.