• SickSquirrel

    (@sicksquirrel)


    I looked at error logs today on another matter and saw this over and over. I just clicked Continue Reading and it 404s each time.

    I need to fix it BUT I can’t get into the admin area if I have to. Hopefully the error can be fixed by editing functions.php.

    (several hundred of these on the same date) [error] [client 66.249.73.69] PHP Fatal error: Call to undefined function colorful_continue_reading_link() in /mnt/xxxxxxxx/apache/hosting-dir/110298/user_dir/xxxxxxxxxxcom/wp-content/themes/d5-colorful/functions.php on line 67

    (obviously the error is on line 67 in functions.php. I found the text which seems to call for this)

    //	Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and colorful_continue_reading_link().
    //	function tied to the excerpt_more filter hook.
    	function colorful_auto_excerpt_more( $more ) {
    	return ' …' . colorful_continue_reading_link();
    	}
    	add_filter( 'excerpt_more', 'colorful_auto_excerpt_more' );
    
    //	Adds a pretty "Continue Reading" link to custom post excerpts.
    	function colorful_custom_excerpt_more( $output ) {
    	if ( has_excerpt() && ! is_attachment() ) {
    		$output .= colorful_continue_reading_link();
    	}
    	return $output;
Viewing 4 replies - 1 through 4 (of 4 total)
  • It seems a bug of the theme you’re using… if you switch back to the default wp theme the 404 disappears?

    Thread Starter SickSquirrel

    (@sicksquirrel)

    Nope. Tried in 3 defaults and another and none are there.

    But I decided to check the post. Edited one sentence, saved, then clicked view post to test the link

    It 404’d

    In the admin area, it shows as Status: Published, Visibility: Public — yet it isn’t visible.

    Now, in further checking, I did the same on another blog. The post shows but it is /p32 not Text Goes Here. So, maybe I did something to a setting to not make it show up? Where would I look?

    If you try to reset permalink options?

    Thread Starter SickSquirrel

    (@sicksquirrel)

    Changed Post Name to Custom Structure /%postname%/ and it fixed it. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Continue reading link 404s’ is closed to new replies.