• Yesterday i’ve updated Atahualpha theme to Version 3.7.11 and i get this error:

    Fatal error: Call to undefined function defined() in /home/myclasi1/public_html/admin/wp-admin/admin.php on line 14

    here is the code from line 12 to line 30

    * @since 2.3.2
    */
    if ( ! defined(‘WP_ADMIN’) )
    define(‘WP_ADMIN’, true);

    if ( ! defined(‘WP_NETWORK_ADMIN’) )
    define(‘WP_NETWORK_ADMIN’, false);

    if ( ! defined(‘WP_USER_ADMIN’) )
    define(‘WP_USER_ADMIN’, false);

    if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
    define(‘WP_BLOG_ADMIN’, true);
    }

    if ( isset($_GET[‘import’]) && !defined(‘WP_LOAD_IMPORTERS’) )
    define(‘WP_LOAD_IMPORTERS’, true);

    require_once(dirname(dirname(__FILE__)) . ‘/wp-load.php’);

    I found some articles about this on google
    They said deactivate all the plugins first then to replace all WordPress files with new ones but let wp-content folder like it is. I downloaded WP 3.5.1, i’ve deleted wp-content folder and uploaded right has been before, and nothing i still get this error. (i’ve added the all db users in wp-config.php)

    Any ideea? i dont get this error permanently, my site works but sometimes i get this…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter comehere

    (@comehere)

    Also i get this error to

    Fatal error: Call to undefined function define() in /home/myclasi1/public_html/index.php on line 14

    code from line 12 to 18

    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./admin/wp-blog-header.php’);
    ?>

    Thread Starter comehere

    (@comehere)

    Any help please? I don’t know what to do..

    If it’s a theme problem, you’ll likely get the best help on the theme developer’s site here: http://wordpress.bytesforall.com/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal Error on line 14’ is closed to new replies.