Frumph / easel

WordPress theme
GNU General Public License v3.0
2 stars 4 forks source link

Check some option, spit some errors #29

Open gwijayas opened 10 years ago

gwijayas commented 10 years ago

Hello,

PHP 5.3.29 Wordpress: 4.0 Comic Easel 1.7.5

After checking option Navigate through only the chapters and not all comics?, I got these errors. I have upload multiple comics in chapter, for two chapter. Without checking that option, these errors not appeared

Notice: Undefined property: WP_Error::$term_id in /home/project/opt/apache/htdocs/wpcomics2/wp-includes/class-wp-error.php on line 78
Call Stack
#   Time    Memory  Function    Location
1   0.0001  632320  {main}( )   ../index.php:0
2   0.0002  637376  require( '/home/project/opt/apache/htdocs/wpcomics2/wp-blog-header.php' )   ../index.php:17
3   0.1830  32297632    require_once( '/home/project/opt/apache/htdocs/wpcomics2/wp-includes/template-loader.php' ) ../wp-blog-header.php:16
4   0.1957  32826992    include( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/index.php' )    ../template-loader.php:74
5   0.1957  32826992    get_header( )   ../index.php:1
6   0.1957  32827656    locate_template( )  ../general-template.php:47
7   0.1957  32827848    load_template( )    ../template.php:477
8   0.1958  32862600    require_once( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/header.php' )  ../template.php:501
9   0.2237  33020952    get_template_part( )    ../header.php:29
10  0.2238  33021840    locate_template( )  ../general-template.php:179
11  0.2238  33021992    load_template( )    ../template.php:477
12  0.2240  33054928    require( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/layout-head.php' )  ../template.php:503
13  0.2241  33055168    do_action( )    ../layout-head.php:4
14  0.2241  33056672    call_user_func_array:{/home/project/opt/apache/htdocs/wpcomics2/wp-includes/plugin.php:505} ( ) ../plugin.php:505
15  0.2241  33056704    ceo_display_comic_area( )   ../plugin.php:505
16  0.2264  33078696    ceo_display_comic_wrapper( )    ../displaycomic.php:277
17  0.2437  33136784    ceo_display_comic_navigation( ) ../injections.php:134
18  0.2437  33136784    ceo_get_first_comic_in_chapter_permalink( ) ../injections.php:49
19  0.2437  33136832    ceo_get_first_comic( )  ../navigation.php:24
20  0.2440  33138432    WP_Error->__get( )  ../navigation.php:13

( ! ) Notice: Undefined property: WP_Error::$term_id in /home/project/opt/apache/htdocs/wpcomics2/wp-includes/class-wp-error.php on line 78
Call Stack
#   Time    Memory  Function    Location
1   0.0001  632320  {main}( )   ../index.php:0
2   0.0002  637376  require( '/home/project/opt/apache/htdocs/wpcomics2/wp-blog-header.php' )   ../index.php:17
3   0.1830  32297632    require_once( '/home/project/opt/apache/htdocs/wpcomics2/wp-includes/template-loader.php' ) ../wp-blog-header.php:16
4   0.1957  32826992    include( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/index.php' )    ../template-loader.php:74
5   0.1957  32826992    get_header( )   ../index.php:1
6   0.1957  32827656    locate_template( )  ../general-template.php:47
7   0.1957  32827848    load_template( )    ../template.php:477
8   0.1958  32862600    require_once( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/header.php' )  ../template.php:501
9   0.2237  33020952    get_template_part( )    ../header.php:29
10  0.2238  33021840    locate_template( )  ../general-template.php:179
11  0.2238  33021992    load_template( )    ../template.php:477
12  0.2240  33054928    require( '/home/project/opt/apache/htdocs/wpcomics2/wp-content/themes/easel/layout-head.php' )  ../template.php:503
13  0.2241  33055168    do_action( )    ../layout-head.php:4
14  0.2241  33056672    call_user_func_array:{/home/project/opt/apache/htdocs/wpcomics2/wp-includes/plugin.php:505} ( ) ../plugin.php:505
15  0.2241  33056704    ceo_display_comic_area( )   ../plugin.php:505
16  0.2264  33078696    ceo_display_comic_wrapper( )    ../displaycomic.php:277
17  0.2437  33136784    ceo_display_comic_navigation( ) ../injections.php:134
18  0.2488  33155000    ceo_get_last_comic_in_chapter_permalink( )  ../injections.php:50
19  0.2488  33155048    ceo_get_last_comic( )   ../navigation.php:49
20  0.2491  33156648    WP_Error->__get( )  ../navigation.php:38
Frumph commented 10 years ago

Are you using the navigation widget or the default? Do you have the random button enabled?

Are all of your comics assigned a chapter?