Support » Plugin: Markup by Attribute for WooCommerce » Notice: Constant WC_MAX_LINKED_VARIATIONS already defined in…

  • deusmalleos

    (@deusmalleos)


    The following error is being displayed at the top of my admin section –

    Notice: Constant WC_MAX_LINKED_VARIATIONS already defined in /home/mysite/public_html/wp-content/plugins/markup-by-attribute-for-woocommerce/src/backend/product.php on line 36

Viewing 1 replies (of 1 total)
  • Plugin Author Mark Tomlinson

    (@marktomlinson)

    This sounds to me like you have another plugin or theme that is defining the WC_MAX_LINKED_VARIATIONS constant. The notice is ambiguous because I can’t tell if the constant is already defined before it hits line 36, or if the message is saying that it was defined on line 36 and is attempting to redefine it elsewhere.

    What I’ll do is change Markup by Attribute’s code to disable the feature if the constant is already defined. This may fix the issue, depending on where the notice is coming from.

    This might take about a week to fully test and roll out. In the meantime, it sounds like this is just a nuisance notice which can be ignored.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.