WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Ad-minister] WP 2.8 Setup Fix (3 posts)

  1. bakaselwatsch
    Member
    Posted 5 years ago #

    After setting up the ID for the page in Setup you'll probably get the error:

    Fatal error: Only variables can be passed by reference in /var/www/web318/html/wp/wp-content/plugins/ad-minister/ad-minister-functions.php on line 140

    To fix this edit ad-minister-functions.php and change this in Line 140:
    $the_page = get_page(get_option('administer_post_id'));
    to

    $pid = get_option('administer_post_id');
    $the_page = get_page($pid);

    Cheers

  2. bakaselwatsch
    Member
    Posted 5 years ago #

    Dough. Just noticed that the same error comes from ad-minister-settings.php on line 54. Do exactly the same as above there.

  3. Jasleen
    Member
    Posted 4 years ago #

    how do i use this ad-minister plugin? I'm a newbie in this area...please do help me...thanks

Topic Closed

This topic has been closed to new replies.

About this Topic