Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18872

    Hi i have been working on the theme install. I noticed in the woocommerce plug in it recommened adding this line to wp-settings

    define(‘WP_MEMORY_LIMIT’, ’64M’);

    This immediately caused a server 500 error response. I removed the line from wp-settings and the site has failed to come back. Looking at the error log files i get the below message:

    [Wed Dec 19 12:08:30 2012] [warn] mod_fcgid: stderr: PHP Fatal error: Call to a member function register_handler() on a non-object in /home/linweb01/g/greenferngardenfurniture.co.uk/user/htdocs/wp-includes/media.php on line 944

    Line 944 is

    function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {

    global $wp_embed;

    $wp_embed->register_handler( $id, $regex, $callback, $priority );

    }

    Can you advise what has happened or why? My hosting company are refusing to help me saying it is a scripting issue – I must admit I am not a php coder so have no idea what has happened or why…

    Thanks in advance

    #101227

    Hi managed to resolve this – seems it was an error in wordpress update…

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Scripting issue?’ is closed to new replies.