• There were a warning that starts newly to be seen on the top of page. In google search, some of sites like mine using multi site function, can be found with same error.

    Warning: Use of undefined constant ?WP_ALLOW_MULTISITE? – assumed ‘?WP_ALLOW_MULTISITE?’ (this will throw an Error in a future version of PHP) in H:\root\home\ogoksel-001\www\gokselwebtr\wp-config.php on line 77

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In wp-config.php, are you using straight quotes? It looks to me like you’re using “smart quotes”. Just use the ‘ character.

    Thread Starter ogoksel

    (@ogoksel)

    There were no syntax error define in wp_config (‘WP_ALLOW_MULTISITE’, true);
    a few days ago there were no warning, newly began. no changes or ne new wp config file.
    But warning about that as if there were a character which can not be seen
    ?WP_ALLOW_MULTISITE? – assumed ‘?WP_ALLOW_MULTISITE?’

    Thread Starter ogoksel

    (@ogoksel)

    Just a try with smart quates,, warnig dissapaired all other comments with ‘ character

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘goksel.web.tr’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(“WP_ALLOW_MULTISITE”, true);
    define(‘SUNRISE’, true);

    Thread Starter ogoksel

    (@ogoksel)

    An another warning starts (no relation wp_config) that I just seen now. There were some bugs to updated wp I think..

    page link: https://goksel.web.tr/2017/04/19/akli-hur-vicdani-hur-nesiller-var-mi-bir-yerlerde/

    Warning: count(): Parameter must be an array or an object that implements Countable in H:\root\home\ogoksel-001\www\gokselwebtr\wp-includes\post-template.php on line 284

    284: if ( $page > count( $pages ) ) // if the requested page doesn’t exist
    $page = count( $pages ); // give them the highest numbered page that DOES exist

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘?WP_ALLOW_MULTISITE?’ is closed to new replies.