Forums

sticky plugin fatal error during WP2.7 install (8 posts)

  1. homescholar
    Member
    Posted 3 years ago #

    I did my automatic upgrade for WP 2.7. Toward the end it said it couldn't activate the sticky note plugin and I needed to do it manually. When I completed installation, I attempted to update the plug in and it gave me a fatal error.

    Fatal error: Cannot redeclare is_sticky() (previously declared in /homepages/12/d175634547/htdocs/blog/wp-includes/post.php:756) in /homepages/12/d175634547/htdocs/blog/wp-content/plugins/wp-sticky/wp-sticky.php on line 143

    When I go to manage posts, my two sticky posts are gone.

    Please help.

    Matt Binz
    The HomeScholar
    [sig moderated]

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    WordPress now has a 'sticky post' ability built-in so you might want to deactivate and delete that plugin.

    Now with that said, I thought at one point Gamerz was not going to update WP-Sticky to 2.7 but it looks like he has done just that (i.e. made the plugin compatible to 2.7).

    Also, deactivate and delete the WordPress Automatic Upgrade plugin if you've got that installed.

  3. Lester Chan
    Member
    Posted 3 years ago #

    @homescholar: Download http://downloads.wordpress.org/plugin/wp-sticky.1.40.zip and overwrite the files at /wp-content/plugins/wp-sticky/

    @MichaelH: Yea, I got quite a number of requests asking me to make it compatible and it wasn't that difficult, just have to make some changes to the is_sticky function name and the add_meta_box() API. Cheers =D

  4. homescholar
    Member
    Posted 3 years ago #

    Michael or GamerZ. Why would I deactivate and delete the WordPress Automatic Upgrade plugin? I have depended on it in the past!

    Is there a new sticky plug in, since my old one doesn't work? I didn't see where that capability was built in on the "add a new post page."

    Thanks for your help.

    Matt

  5. homescholar
    Member
    Posted 3 years ago #

    I also get a fatal error on the twitme plugin when I try to activate on 2.7.

    Fatal error: Call to undefined function: date_default_timezone_set() in /homepages/12/d175634547/htdocs/blog/wp-content/plugins/twitme/twitme.php on line 28

    It is deactivated now. When I attempt to load it fresh from the plugin download page it says that I have the most current one installed.

    I'm stuck.

    Thanks,
    Matt

  6. Lester Chan
    Member
    Posted 3 years ago #

    @homescholar http://downloads.wordpress.org/plugin/wp-sticky.1.40.zip is the new version for WP2.7. You are using 1.31 previously. Regarding the twitme, you may need to ask the author.

  7. homescholar
    Member
    Posted 3 years ago #

    Hi GamerZ,
    I deleted the sticky version 1.3.1 and restarted wordpress. When I go to install the v 1.4 I get the following message:

    Installing Plugin: WP-Sticky 1.40

    Downloading plugin package from http://downloads.wordpress.org/plugin/wp-sticky.1.40.zip

    Unpacking the plugin package

    Fatal error: Cannot redeclare class pclzip in /homepages/12/d175634547/htdocs/blog/wp-admin/includes/class-pclzip.php on line 171

    Any ideas?

    Matt

  8. MichaelH
    Volunteer
    Posted 3 years ago #

    Why would I deactivate and delete the WordPress Automatic Upgrade plugin?

    Because it is causing you problems and is no longer necessary as 2.7 has both core and plugin upgrade ability.

Topic Closed

This topic has been closed to new replies.

About this Topic