WordPress.org

Ready to get started?Download WordPress

Forums

Custom 404 Error Page: Unilimited designs and colors
[resolved] Plugin Fatal Error (8 posts)

  1. Marc
    Member
    Posted 1 year ago #

    When I updated the plugin, and tried to access a page that doesn't exzist on my site with "Custom 404 Error Page: Unilimited designs and colors" installed, I receive an error saying "Fatal error: Call to undefined function http_response_code() in /home/myuseraccount/public_html/-hidden-/wp-content/plugins/custom-404-error-page-unlimited-designs-colors-and-fonts/custom404page.php on line 1"

    Any thoughts?...

    http://wordpress.org/extend/plugins/custom-404-error-page-unlimited-designs-colors-and-fonts/

  2. slowsoulz
    Member
    Posted 1 year ago #

    I'm getting this same error. I uninstalled and re-installed the plugin and nothing changed. Help!

  3. Marc
    Member
    Posted 1 year ago #

    Hey slowsoulz,

    Is your header.php file accessible, or do you get another fatal error?

    http://yoursite.com/wp-includes/theme-compat/header.php

    Refference:
    http://codex.wordpress.org/Function_Reference/get_header

  4. satguy01
    Member
    Posted 1 year ago #

    Getting the same problem. Worked fine before...

    Thanks

  5. slowsoulz
    Member
    Posted 1 year ago #

    Sorry for the late reply. I found a fix for the problem here.

    http://wordpress.org/support/topic/returns-call-to-undefined-function-http_response_code?replies=2

    ----------
    FIXED

    Line 1:

    <?php get_header(); http_response_code( 404 ); //var_dump( http_response_code() ); ?>

    Changed to:

    <?php get_header(); ?>
    --------------------
    Works perfectly now!

  6. Marc
    Member
    Posted 1 year ago #

    Thanks, relpacing line 1 with <?php get_header(); ?> worked!

  7. NikoV
    Member
    Posted 1 year ago #

    Hey there!
    I had the same problem from the start and changing <?php get_header(); ?> helped! Althou this may affect so that the 404 error isn't properly showing if i'm right?

    I hope ya guys can fix this thing.. Really awesome plugin :)

    Oh yea and please include translation options for "Check these Useful Posts" and "Check these Useful Links".

  8. satguy01
    Member
    Posted 1 year ago #

    I reverted back to the previous version for now, I will give it some time and check it again in a few months

    But it is an awesome plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic