• Hello!
    We are using your plugin and discovered one issue that doesn’t allow plugin to be activated.
    In the file class-wc-payever-admin-settings.php on line 7 you are loading woocommerce file, expecting that everyone have default folder sctructure and names.

    $file = WP_CONTENT_DIR . '/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php';

    In our case, our wp-content and plugins folders are renamed and plugin brakes here.

    Please, fix this by changing WP_CONTENT_DIR to WP_PLUGIN_DIR, so the fixed line will looks like:

    $file = WP_PLUGIN_DIR . '/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php';

Viewing 1 replies (of 1 total)
  • Thread Starter ga_west

    (@ga_west)

    Sorry, correct should be
    $file = WP_PLUGIN_DIR . '/woocommerce/includes/admin/settings/class-wc-settings-page.php';

Viewing 1 replies (of 1 total)

The topic ‘Error with the loading path’ is closed to new replies.