• On the new post page I get several versions of this message among others:
    Warning: call_user_func(post_excerpt_meta_box) [function.call-user-func]: First argument is expected to be a valid callback in /home/ourislan/www/justoutforawalk/wp-admin/includes/template.php on line 2864

    Here’s a link to a screen grab:
    https://www.justoutforawalk.ourislands.com/images/screenCapture.png

    Switching templates does not change the errors.

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m sorry I can’t help you. But I did look it up and found that this error is referring to the 3rd last line of the following code. Maybe this might help someone else work out what is wrong. If you don’t get a reply I think in this case I would resort to reinstalling wp. But hopefully some one can see what is happening.

    $i++;
    $style = ”;
    $hidden_class = in_array($box[‘id’], $hidden) ? ‘ hide-if-js’ : ”;
    echo ‘<div id=”‘ . $box[‘id’] . ‘” class=”postbox ‘ . postbox_classes($box[‘id’], $page) . $hidden_class . ‘” ‘ . ‘>’ . “\n”;
    echo ‘<div class=”handlediv” title=”‘ . __(‘Click to toggle’) . ‘”>
    </div>’;
    echo “<h3 class=’hndle’><span>{$box[‘title’]}</span></h3>\n”;
    echo ‘<div class=”inside”>’ . “\n”;
    call_user_func($box[‘callback’], $object, $box); //<<<<<<<<<<<< this line
    echo “</div>\n”;
    echo “</div>\n”;

    Thread Starter karenkwfl

    (@karenkwfl)

    Thanks for taking a look.. I have considered re-installing… Might download a fresh copy in case there is a corrupt file. I’m handy with html.. but clueless with php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple errors when trying to add new post Still Unresolved’ is closed to new replies.