• Resolved emoteek

    (@emoteek)


    As soon as I activate the plugin I have this message showing on my site :

    Notice: amp_is_available was called incorrectly.amp_is_available()(oramp_is_request(), formerlyis_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing theplugins_loadedhook. Calling this function before thewpaction means it will not have access toWP_Queryand the queried object to determine if it is an AMP response, thus neither theamp_skip_post()` filter nor the AMP enabled toggle will be considered. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /wordpress/core/5.7.1/wp-includes/functions.php on line 5313

    Notice: Undefined index: name in /wordpress/core/5.7.1/wp-includes/class-wp-roles.php on line 291

    Notice: Undefined index: name in /wordpress/core/5.7.1/wp-includes/class-wp-roles.php on line 291

    Notice: Undefined index: name in /srv/htdocs/wp-content/plugins/ultimate-member/includes/core/class-roles-capabilities.php on line 113

    Notice: Undefined index: name in /srv/htdocs/wp-content/plugins/ultimate-member/includes/core/class-roles-capabilities.php on line 113`

    There is no problem with ultimate members but as soon as I activate the plugin it seems to have an incompatibility.. I don’t know if someone already had this problem?

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @emoteek

    You are having this issue when you enable our PDF plugin or Ultimate Member?

    Thread Starter emoteek

    (@emoteek)

    When I enable your PDF plugin ??

    Plugin Contributor alexmigf

    (@alexmigf)

    What happens if you disable the Ultimate Member plugin?

    Thread Starter emoteek

    (@emoteek)

    After deactivating ultimate Members it happens that the problem is the same

    The error messages is exactly the same

    Plugin Contributor Ewout

    (@pomegranate)

    our plugin does not use the function amp_is_available(), so something else on your site must be calling it (during the creation of PDF invoices). Could you try deactivating plugins one by one to see which plugin is responsible? We can then look closer into the issue to see if it’s a conflict we can resolve from our end or if it needs to be resolved by the other party.

    Thread Starter emoteek

    (@emoteek)

    Hi, I tried to deactivate my plugins but the problem is removed when I deactivate your plugin only.

    Also I tried to delete another plugin while having yours activated and another error occured : échec de la suppression : Notice: Undefined index: name in /wordpress/core/5.7.1/wp-includes/class-wp-roles.php on line 291 Notice: Undefined index: name in /wordpress/core/5.7.1/wp-includes/class-wp-roles.php on line 291 Notice: Undefined index: name in /srv/htdocs/wp-content/plugins/ultimate-member/includes/core/class-roles-capabilities.php on line 113 Notice: Undefined index: name in /srv/htdocs/wp-content/plugins/ultimate-member/includes/core/class-roles-capabilities.php on line 113 {"success":true,"data":{"delete":"plugin","slug":"polylang","plugin":"polylang\/polylang.php","pluginName":"Polylang"}}

    Thread Starter emoteek

    (@emoteek)

    Also, when your plugin is active and that I deactivate then activate another plugin I have this error message : Cette extension a généré 394 caractères de sortie inattendus lors de son activation. Si vous remarquez des messages ? headers already sent ?, des problèmes avec vos flux de syndication ou d’autres soucis, essayez de désactiver ou de supprimer cette extension.

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @emoteek

    The errors you are seeing are related to the Ultimate Member plugin, maybe some capabilities issues there for the current user role? I’m a bit confused how you could receive the same errors with that plugin disabled, because they can only occur when the plugin is enabled, maybe was previous ones?

    In your second message you are pointing an issue with our plugin disabled, so not relation at all with it.

    Thread Starter emoteek

    (@emoteek)

    Hi, I open this conversation once again after contacting the support from Ultimate Members, here is their answer after checking the problem ( I gave them an admin access + DB access etc ) ->

    “It looks like the issue with the message on your pages was actually being caused by woocommerce-pdf-invoices-packing-slips plugin.
    We’ve deactivated that plugin for now and we’ve run a full sync. I can see that error message is gone now. You’ll want to let the plugin devs know the issue was with that plugin.”

    Plugin Contributor Ewout

    (@pomegranate)

    @emoteek I suspect that you may have enabled the “Enable debug output” option of our plugin in the Status tab, which will show ALL errors from your site (from ALL plugins) that would normally be surpressed. This means that enabling our plugin doesn’t cause those errors, but simply shows them.
    Can you check this? This option is only meant for debugging and shouldn’t be activated on a live site.

    Thread Starter emoteek

    (@emoteek)

    Yes it seems that it is activated..

    However those messages aren’t showing any critical error so I should let it be and just deactivate the debug output?

    Plugin Contributor Ewout

    (@pomegranate)

    well, it would be a good idea to follow up on those errors with the plugins that throw them, for example the ones coming from Ultimate Members which are errors in their plugin code (you never know how it could affect your processes and those type of errors are easy to fix).

    But yes, besides that you can certainly deactivate the option. It is meant for debugging purposes only.

    Glad we have solved the mystery!

    Thread Starter emoteek

    (@emoteek)

    Yes thanks for your help ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Error with WooCommerce PDF Invoices’ is closed to new replies.