• Hi,

    i got this error back from the template tester:

    Undefined variable: attr in /home/chipbenn/public_html/themereview/wp-content/themes/acaronia/functions.php on line 384
    Undefined variable: listtag on line 280 of /wp-content/themes/acaronia/functions.php
    Undefined variable: i on line 306 of /wp-content/themes/acaronia/functions.php

    I checked the code, but i cannot find what to change. Is there someone with a little more php experience who can tell me what to change?

    the function.php is found here

    Thank you in advance.
    Bas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding:

    /**
     * This will log all errors notices and warnings to a file called debug.log in
     * wp-content (if Apache does not have write permission, you may need to create
     * the file first and set the appropriate permissions (i.e. use 666) )
     */
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors',0);

    near the top if your wp-config.php file on your development install.

    Thread Starter baszer

    (@baszer)

    thanks!

    when i fixed the bugs, is it now bugfree?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable in my theme’ is closed to new replies.