Support » Plugin: WooCommerce Cash On Delivery Plus Fee » Plugin causing fatal error when opening menus from WordPress dashboard.

  • Hi,

    The plugin’s is_available() is outdated and cause fatal errors when someone tries to visit the Menus from the WordPress dashboard(wp-admin/nav-menus.php).

    Also, this method throws PHP notices while accessing the dashboard.

    [09-Oct-2018 05:39:05 UTC] PHP Notice: Undefined offset: 1 in /home/public_html/wp-content/plugins/woo-cod-plus-fee/ngm-wc-codpf.php on line 398

    Plugin’s compatibility with lastest WooComemrce must be fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same error but with other error type and line (line 372).

    I fixed it modifying the line 369 from this:
    if (!empty($this->enable_for_methods)) {
    to this:
    if (!is_admin() && !empty($this->enable_for_methods)) {

    Please, add it to the the next update.

    Kind regards.

    I got the same error as “Art Project Group” descriped.
    Hope you will fix this in future updates.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin causing fatal error when opening menus from WordPress dashboard.’ is closed to new replies.