• Resolved Nick Armstrong

    (@nickarmstrong)


    Howdy — I just upgraded to 1.0.3.1 and noticed an error in our validation.

    Error reported: `<div id=”post-5″ class=”<br />
    <b>Warning</b>: Missing argument 1 for thematic_post_class(), called in /home/gravity1/public_html/wp-content/themes/g1020/growler-fw-page.php on line 45 and defined in <b>/home/gravity1/public_html/wp-content/themes/thematic/library/extensions/dynamic-classes.php</b> on line <b>426</b><br />
    “>`

    Code in child theme:

    echo '<div id="post-' . get_the_ID() . '" ';
    					// Checking for defined constant to enable Thematic's post classes
    					if ( ! ( THEMATIC_COMPATIBLE_POST_CLASS ) ) {
    						post_class();
    						echo '>';
    					} else {
    						echo 'class="';
    						thematic_post_class();
    						echo '">';
    					}

    What do I need to do to fix this?

    Thanks for your time! ??

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘1.0.3.1 broke child theme’ is closed to new replies.