• Hi!

    This is the error I get when I load my page using the Picture Perfect theme:
    Notice: Use of undefined constant ?0 - assumed '?0' in /opt/sources/wordpress/wp-content/themes/picture-perfect/functions.php on line 11

    Here is the diff for line 11 between functions.php and functionsold.php:

    < $number?=?0;
    ---
    >

    $number = 0;

    After removing the weird character surrounding the “=” sign, the error is gone.

    I do get another error when activating the theme:
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /opt/sources/wordpress/wp-includes/functions.php on line 3321
    This whole text also appears in the as an item in the Appearance menu.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code error’ is closed to new replies.