• Dear dmonnier,

    I have installed the cssable-countdown plugin and encountered the following Fatal error. Do you have any idea what happened? Any thing I can do to remove the cssable-countdown plugin?

    Fatal error: Cannot redeclare my_enqueue() (previously declared in /home2/faichau/public_html/crazyformiles.com/wp-content/plugins/banner-upload/banner-upload.php:122) in /home2/faichau/public_html/crazyformiles.com/wp-content/plugins/cssable-countdown/CSSable-Countdown.php on line 154

    Thanks.
    Fai

    https://wordpress.org/plugins/cssable-countdown/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dmonnier

    (@dmonnier)

    This has already been reported in another support thread. The reason why you’re getting his error is because another plugin is conflicting with CSSable Countdown. HOWEVER, the fix is very simple:

    Open CSSable-Countdown.php and search for:

    function my_enqueue($hook)

    Replace my_enqueue($hook) to cssable_countdown_enqueue($hook)

    then a couple lines down:

    add_action( 'admin_enqueue_scripts', 'my_enqueue' );

    change that my_enqueue to cssable_countdown_enqueue.

    I will fix this in the next release of this plugin and I’ll make sure I name my functions better next time 🙂

    If this solution doesn’t work, please let me know, but I’m pretty sure it will.

    Hello I made the my_enqueue($hook) and the ssable_countdown_enqueue you suggested.I got the same error just with cssable_countdown_enqueue instead of my_enqueue.

    Fatal error: Cannot redeclare my_enqueue() (previously declared in /home/netshocker/public_html/wp-content/plugins/cssable-countdown/CSSable-Countdown.php:154) in /home/netshocker/public_html/wp-content/plugins/cssable-countdown/CSSable-Countdown.php on line 154.

    I am using this with the WordPress Vantage Theme Home Page. I would love to get it working correctly and I do not problem with donations. I cannot find many count-up plugins. Please help, I want to be able to count the years/days my my son has been gone and how old he would be.

    cc46808

    (@cc46808)

    I am also having the same issue, I can rename the function from my_enqueue to anthing else and I still get the fatal error: Cannot redeclare WHATEVER I PUT HERE(). Any updates?

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