Title: Error from plugin
Last modified: March 5, 2021

---

# Error from plugin

 *  Resolved [kayaris](https://wordpress.org/support/users/kayaris/)
 * (@kayaris)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-from-plugin-2/)
 * I’m getting the following error when I deactivated and reactivated all my plugins
   and can’t access plugins anymore:
 *     ```
       Warning: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /srv/disk1/2533442/www/shedidit/wp-content/plugins/master-addons/inc/admin/promotions.php on line 304
   
       Fatal error: Uncaught Error: Call to a member function format() on bool in /srv/disk1/2533442/www/shedidit/wp-content/plugins/master-addons/inc/admin/promotions.php:231 Stack trace: #0 /srv/disk1/2533442/www/shedidit/wp-content/plugins/master-addons/inc/admin/promotions.php(305): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_get_total_interval(false, 'days') #1 /srv/disk1/2533442/www/shedidit/wp-content/plugins/master-addons/inc/admin/promotions.php(398): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_days_differences() #2 /srv/disk1/2533442/www/shedidit/wp-includes/class-wp-hook.php(287): MasterAddons\Admin\Promotions\Master_Addons_Promotions->jltma_request_review_after_seven_days('') #3 /srv/disk1/2533442/www/shedidit/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /srv/disk1/2533442/www/shedidit/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /srv/disk1/2533442/www/shedidit/wp-admin/admin-header.php(292): do_action('admin_notices') #6 /srv/disk1/253344 in /srv/disk1/2533442/www/shedidit/wp-content/plugins/master-addons/inc/admin/promotions.php on line 231
       There has been a critical error on this website.
       ```
   
 * Thanks for your help!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Liton Arefin](https://wordpress.org/support/users/litonice13/)
 * (@litonice13)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-from-plugin-2/#post-14164569)
 * Hello [@kayaris](https://wordpress.org/support/users/kayaris/),
    It was an very
   old issue and already fixed. Can you please let me know which version you’ve 
   installed? Thanks

Viewing 1 replies (of 1 total)

The topic ‘Error from plugin’ is closed to new replies.

 * ![](https://ps.w.org/master-addons/assets/icon.svg?rev=3001717)
 * [Master Addons For Elementor – Widgets, Extensions, Theme Builder, Popup Builder & Template Kits](https://wordpress.org/plugins/master-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/master-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/master-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/master-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/master-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/master-addons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Liton Arefin](https://wordpress.org/support/users/litonice13/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/error-from-plugin-2/#post-14164569)
 * Status: resolved