• Resolved todmi

    (@todmi)


    Hi,

    After adding the latest version of your plugin to our multi-site, we are seeing this on our Dashboard and on the Master Addons settings page:

    https://f004.backblazeb2.com/file/mi-prod-public/softdev/dashboard_error.png
    https://f004.backblazeb2.com/file/mi-prod-public/softdev/settings_error.png

    We are running:

    WP Version 5.9.3
    PHP Version 7.4.27
    Elementor 3.6.5
    MySQL Version 5.5

    Here is pasted text from those error messages:

    Notice: Trying to access array offset on value of type bool in /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/dashboard-settings.php on line 108
    
    Notice: Trying to access array offset on value of type bool in /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/dashboard-settings.php on line 131
    Skip to main contentSkip to toolbar
    About WordPress
    My Sites
    Mission Increase
    1818 updates available
    00 Comments in moderation
    New
    Howdy, Tod Birdsall
    Log Out
    Screen OptionsHelp
    Warning: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/promotions.php on line 398
    
    Fatal error: Uncaught Error: Call to a member function format() on bool in /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/promotions.php:326 Stack trace: #0 /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/promotions.php(400): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_get_total_interval() #1 /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/promotions.php(407): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_days_differences() #2 /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-includes/class-wp-hook.php(307): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_review_notice_generator() #3 /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-includes/plugi in /mnt/data/home/732987.cloudwaysapps.com/jzbfddgmuh/public_html/wp-content/plugins/master-addons/inc/admin/promotions.php on line 326
    There has been a critical error on this website.

    Please help.

    Thank you for your time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @todmi ,

    Can you please delete the plugin and install it again? I hope it will solve the issue. If not, then please let me know.

    Thank You

    Thread Starter todmi

    (@todmi)

    Hi @royjemee ,

    Thanks for your response. I have already tried deleting the plugin and reinstalling and I end up with the same error messages.

    After deleting and re-installing, everything seems fine until I activate the plugin on one of our multi-sites. Then I get the error shown in the screens above. To be clear, I am not activating the plugin at the Network Admin Level (Network Activate).

    Thread Starter todmi

    (@todmi)

    @royjemee Additional details regarding the delete process:

    Once I have activated your plugin on one of our multi-sites, the error message displays and I can no longer access the Plugins section of that multi-site. Which means I cannot deactivate the plugin. Since the Network Admin Level won’t let me delete a plugin that is active for a multi-site, I take the following steps:

    1. Rename the master-addons folder.
    2. Now I can delete the plugin reference from the Network Admin Level.

    I believe I tried deleting via some other scenarios as well, but still end up with the same error message each time I re-install and activate for the multi-site.

    Thread Starter todmi

    (@todmi)

    @royjemee
    Additional info: I found out from our content editors that this plugin was installed and working fine, but they started getting errors and removed the plugin. After they re-installed the plugin they began getting the errors that show up in the screenshots in my original post in this thread.

    They have tried installing both via the gallery and manually uploading via FTP.

    Plugin Author Liton Arefin

    (@litonice13)

    Hi @todmi ,
    We’ve fixed the issue and pushed update. Please update your plugin.
    Please let us know if you face any problems.
    Thanks

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

The topic ‘Fatal error Call to a member function format() on bool’ is closed to new replies.