• Resolved gguldens

    (@gguldens)


    Below is the text of the email from wordpress telling me about the error. I cannot log into my site as an admin because of this. The slider is still working for people visiting my site. Please provide some direction as to how to proceed with fixing this error. Tried the recovery mode link and get “Recovery Mode Not Initialized”. I am trying to avoid removing the Master-Slider plugin completely because I have several sliders defined and that will be a great deal of work to try and re-create them.

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Master Slider.

    First, visit your website (https://www2.goldysbrand.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www2.goldysbrand.com/wp-admin/) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://www2.goldysbrand.com/wp-login.php?action=enter_recovery_mode&rm_token=vsiDvRmhFUDog0EbW61ors&rm_key=lkS2VgTkPg8fwIWp8nEK13

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.8.2
    Current theme: Biz News (version 1.0.7)
    Current plugin: Master Slider (version 3.7.10)
    PHP version 8.0.12

    Error Details
    =============
    An error of type E_ERROR was caused in line 232 of the file /var/www/goldysbrand.com/wp-content/plugins/master-slider/admin/includes/msp-admin-functions.php. Error message: Uncaught TypeError: Unsupported operand types: string / int in /var/www/goldysbrand.com/wp-content/plugins/master-slider/admin/includes/msp-admin-functions.php:232
    Stack trace:
    #0 /var/www/goldysbrand.com/wp-content/plugins/master-slider/admin/views/setting/class-msp-settings.php(277): msp_get_pro_users_num()
    #1 /var/www/goldysbrand.com/wp-content/plugins/master-slider/admin/views/setting/class-msp-settings.php(34): MSP_Settings->get_settings_fields()
    #2 /var/www/goldysbrand.com/wp-includes/class-wp-hook.php(303): MSP_Settings->admin_init(”)
    #3 /var/www/goldysbrand.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #4 /var/www/goldysbrand.com/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #5 /var/www/goldysbrand.com/wp-admin/admin.php(175): do_action(‘admin_init’)
    #6 /var/www/goldysbrand.com/wp-admin/index.php(10): require_once(‘/var/www/goldys…’)
    #7 {main}
    thrown`

    • This topic was modified 3 years, 4 months ago by gguldens.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gguldens

    (@gguldens)

    I looked at line 232 in msp-admin-functions.php. This line appears to be part of checking for a pro license, and I am using the free version, so wondering just how we got here because this is only the free version.

    The bolded line below is line 232.

    /**
     * Get the number of PRO users
     *
     * @return int
     */
    function msp_get_pro_users_num(){
        $download_num = msp_api_stats_shortcode( array( 'item-id' => '7467925', 'item-param' => 'sales_number', 'cache_in_minutes' => 1200  ) );
        <strong>return number_format_i18n( floor( ($download_num/1000) ) * 1000 ). '+';</strong>
    }
    Thread Starter gguldens

    (@gguldens)

    Overnight the Profitori plugin updated, I deactivated master slider, then logged in as wp-admin, deactivated Profitori, and then activated Master Slider. Still got the error and was kicked out of wp-admin.

    Thread Starter gguldens

    (@gguldens)

    Being forced to choose to be able to admin my site or have master slider, I had to take this action:
    I installed wp-cli and using it I deactivated Master slider, that gave me access to wp-admin.

    This left my site showing the master slider short code.

    I finally decided to delete master slider plugin and then I re-installed it.

    That did the trick, I was able to get into wp-admin, and the slider was showing on my web site, and I was able to go into the settings for master slider.

    I suggest that someone look at what I was able to provide as far as the fatal error message and trace goes to see how this may be prevented in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Received an Email from my wordpress that master slider is causing a problem’ is closed to new replies.