WordPress.org

Ready to get started?Download WordPress

Forums

Catch Box
[resolved] Small bug in functions.php / catchbox_comment_form_fields (4 posts)

  1. vjalby
    Member
    Posted 1 year ago #

    First, thanks for this very nice theme. Good work!

    Next, I think there's a small bug in functions.php (1.7.1). In function catchbox_comment_form_fields, you forgot to define $commenter, maybe with
    $commenter = wp_get_current_commenter();

    In debug mode, I got the notice message:

    Notice: Undefined variable: commenter in /Users/vincent/Sites/gdrmoa/wp-content/themes/catch-box/functions.php on line 879

    But not a big deal for me (I don't use comments !)

    Vincent

  2. Catch Themes
    Member
    Theme Author

    Posted 1 year ago #

    thanks Vincent, I will update in next version update

  3. kgagne
    Member
    Posted 1 year ago #

    Thanks for catching this issue! My users also encountered it, preventing them from leaving comments:

    PHP Notice:  Undefined variable: commenter in /wp-content/themes/catch-box/functions.php on line 879
    
    PHP Notice:  Undefined variable: commenter in /wp-content/themes/catch-box/functions.php on line 881

    Oddly, it seems to happen only when Jetpack is enabled.

    If an official fix isn't coming soon, a temporary patch would be most welcome!

    -Ken

  4. Catch Themes
    Member
    Theme Author

    Posted 1 year ago #

    @kgagne: It's not in our hand to release the update. It have to be push live from WordPress Theme Review Team. But I think you can download through Trac: http://wordpress.org/extend/themes/download/catch-box.1.7.2.2.zip

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.