• Resolved Nagase

    (@nagase)


    Hello,

    i have a static page where WordPress is loaded
    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');

    when flexible-shippingis is activate i have a ” Cannot redeclare XXX function”(xxx function is in function.php) on my page, it’s look like function.php is loaded twice.
    when i deactivate the plugin it’s ok.

    maybe you have somewhere in plugin code an include (xxxxxx) instead include_once(xxxx)?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin load function.php twice?’ is closed to new replies.