• Resolved SRD75

    (@srd75)


    Hi Folks,

    I have WP in network mode, with WP Multi Network plugin installed.

    In WP Network admin, I set “Network Enable Cache” & “Use Primary Site Configuration” to Yes, and save config, then receive an error:

    Notice: Use of undefined constant BLOG_ID_CURRENT_SITE – assumed ‘BLOG_ID_CURRENT_SITE’ in /home2/username/public_html/wp-content/plugins/litespeed-cache/inc/config.class.php on line 281

    I then can’t find a way to configure the primary site’s Litespeed Cache, receiving message:

    The network admin selected use primary site configs for all subsites. The following options are selected, but are not editable in this settings page.

    Help appreciated.

    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hai Zheng?

    (@hailite)

    Hi Steve,

    To create a WP network, usually WP will give couple lines that needed to be added into wp-config.php, e.g.

    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    If you use 3rd party plugin, please ask their author to honor this setting.

    Thanks.

    Thread Starter SRD75

    (@srd75)

    Thanks.

    I think the new web host I had transferred to commented out these lines.

    I’ve un-commented them and the message is gone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use of undefined constant BLOG_ID_CURRENT_SITE’ is closed to new replies.