• Resolved sl2022

    (@sl2022)


    Hello,

    I’m using you guys WooCommerce Wholesale Prices plugin, and this week i’ve received a wordpress automatic email, that informs that an error occured with the plugin.

    This is the link where the error was indentified:
    https://solucoesled.com/shop/shop/wp-admin/admin-ajax.php

    ERROR DETAILS
    ================
    A type E error E_COMPILE_ERROR was caused on line 15 of the file /home/xy2uarg9/solucoesled.com/shop/wp-content/plugins/woocommerce-wholesale-prices/woocommerce-wholesale-prices.plugin.php. Error message: require_once(): Failed opening required ‘/home/xy2uarg9/solucoesled.com/shop/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-wholesale-prices.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)

    Can you please help me to solve this issue?

    Thanks,

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @sl2022 this type of error usually occurs if there’s some file missing that’s being referenced.

    woocommerce-wholesale-prices/includes/class-wwp-wholesale-prices.php

    Make sure this file exists and if not it might be worth reinstalling the plugin in case the install was corrupted during an update (just a theory).

    Another thing to check would be the php version. Ideally if that can be on at least php 7.3 or higher that’s good.

    If things are operating as normal then it’s likely this was a one off but let me know how you go!

    Thread Starter sl2022

    (@sl2022)

    @jkohlbach
    Hello,
    I’ve checked and that file exists and i’m using php 7.4.

    All things are operating normal, but if so, what’s the reason for this error?

    Maybe it’s because of the file path, the wp mail informs that the error was indentified on this file:
    https://solucoesled.com/shop/shop/wp-admin/admin-ajax.php

    The path it’s wrong it should be: (only one shop folder)
    https://solucoesled.com/shop/wp-admin/admin-ajax.php

    • This reply was modified 2 years, 7 months ago by sl2022.
    • This reply was modified 2 years, 7 months ago by sl2022.
    Plugin Author Josh Kohlbach

    (@jkohlbach)

    It’s very hard to pin point. It could be during the update process it wasn’t about to view the file on the server. This happens sometimes during auto updates.

    If it hasn’t reoccurred then I think you’re safe, that’s a main plugin file and if it was missing, it wouldn’t be working at all.

    If it does reoccur we should probably get the host involved as it might point to a further issue there.

    Sorry I can’t be more succinct with my diagnosis!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error – WP Technical Problem’ is closed to new replies.