WordPress.org

Ready to get started?Download WordPress

Forums

Content Scheduler
Throws Fatal Error (6 posts)

  1. karlazz
    Member
    Posted 10 months ago #

    This version 1.00 is missing a method called do_notifications and so it throws a fatal error and does not expire any posts. This will be broken in any version of WordPress since the plugin is missing code.

    http://wordpress.org/plugins/content-scheduler/

  2. JochenT
    Member
    Posted 7 months ago #

    This function still exists in version 0.9.9.

    As the author does not take any action on this error since over 8 months it seems the best to copy that function from file content-scheduler.php of v0.9.9 into the same file of v1.0.0 at the same place. You do not have to change anything further. You can download the older version v0.9.9 when clicking on the Developers tab in this repo.

    Alternatively you may take this code snippet and add it after function process_expirations() (after line 1155):

    function do_notifications( $posts_to_notify, $why_notify ) {
    	// notify people of expiration or pending expiration
    	include 'includes/send-notifications.php';
    }
  3. peng1nz
    Member
    Posted 6 months ago #

    Thanks JochenT, that fixed it for me.

  4. karlazz
    Member
    Posted 6 months ago #

    Me too! Thanks JochenT.

  5. New Hope Church
    Member
    Posted 6 months ago #

    JochenT, you are most awesome! Working for me now, too. Thanks so much for stepping in and offering a solution. This is/was a great plugin and I've missed being able to use it.

  6. gcmag
    Member
    Posted 5 months ago #

    JochenT This has been a thorn in our side for months and i really appreciate your work !!!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.