WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error when activating plugins (3 posts)

  1. slechtgaan
    Member
    Posted 6 years ago #

    I have downloaded a few plugins. The first ones worked perfectly when I activated them. But now, when I try to activate Events-calender for example, I get this message:

    "The plugin could not be activated because it caused a fatal error."

    Help please?

  2. apeck70
    Member
    Posted 6 years ago #

    I was having trouble viewing my site, so deactivated plugins. When I tried to reactivate I got this message and now can't access site or admin area.

    Fatal error: Call to undefined function: register_widget_control() in /home/amypeck/public_html/wp-content/plugins/widgets/flickr_widget.php on line 229

    Any help would be appreciated.

  3. afshin222
    Member
    Posted 5 years ago #

    i have this problem also but when i use this code, this problem solved.

    function widget_dailytopten_init() {
            if(!function_exists('register_sidebar_widget')) { return; }
            function widget_dailytopten($args) {
    		echo $before_title
                          . 'My widget'
                          . $after_title;
    
    			Hello widget!
            }
            register_sidebar_widget('My sidget','widget_dailytopten');
        }
    add_action('plugins_loaded', 'widget_dailytopten_init');

    Regard, Afshin.m

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags