Forums

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

  1. bakaselwatsch
    Member
    Posted 4 months 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 4 months ago #

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

Reply

You must log in to post.

About this Topic