• Resolved Alan Jacob Mathew

    (@alanjacobmathew)


    Hi,

    I got 2 main problems, wish you could help me somehow.
    I am building my first plugin so sometimes the problem might br from my side, so apologies for that, since i can’t find the issue.

    1: I am adding custom section and fields in WooCommerce Settings page. I am referring to this article . Ii reached the part of ” Adding fields to the custom settings page”. When ‘Disable WooCommerce Admin’ is ‘ON’ a message is shown in the plugin settings like in this image. When the setting is OFF it works fine.

    When I add a link in the plugin to my profile page, the error message also becomes a clickable link like this image

    2: I have a staging site where installing this plugin with only WooCommerce causes critical error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ospiotr

    (@ospiotr)

    Hi @alanjacobmathew

    Thanks for your report.

    First case:

    Could you please paste your plugin’s code? I will verify this and will try to suggest a correct solution.

    Second case:

    This is probably a Storefront-related problem which has been described here in this forum. Please red the post.

    Thread Starter Alan Jacob Mathew

    (@alanjacobmathew)

    Hi @ospiotr

    Case 1:
    You can find the code here.

    But now I am not sure whether the conflict is with your plugin, and I guess it’s with Mailpoet. I tried deactivating Mailpoet + enabled

    Disable WooCommerce Admin

    and everything works fine.

    Case 2
    Yes it was storefront related issue. I changed the theme and everything seems fine

    Plugin Contributor ospiotr

    (@ospiotr)

    Dear @alanjacobmathew

    I have activated your plugin and Disable WooCommerce Admin on my test site and the configuration page look exactly the same as with plugin disabled: https://i.imgur.com/ekqfH7I.png

    I’m marking this topic as resolved.

    Good news is that Storefront 3.0.1 will fix the issue with fatal error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with my custom plugin’ is closed to new replies.