• Resolved gandalf11

    (@gandalf11)


    Hi there

    When activating the plugin, I get following error:

    Fatal error: Using $this when not in object context in /home/httpd/vhosts/xxx.ch/xxx.live/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php on line 807

    What is wrong with my environment?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem… however if I disable WooCommerce, Show Attributes will enable and then turn WooCommerce back on. All of that said the plugin no longer functions under Woo3 the attributes are in their default positioning and all settings are useless to place it above the price or below the cart etc. One note I don’t always get the same error enabling Show Attributes. Sometimes it just gives “Fatal Error” no explanation.

    Thread Starter gandalf11

    (@gandalf11)

    I installed the newest version, which requires wc 3.0… the plugin was updated one day ago…

    Plugin Author isabel104

    (@isabel104)

    I’m sorry. Version 1.6.1 was just released, which fixes the activation error.

    Note: Yes, this plugin requires WooCommerce version 3.0 or higher.

    Thread Starter gandalf11

    (@gandalf11)

    Hi Isabel

    Thanks for that quick fix! Works fine now!!!

    Is there a way how to format the attributes?

    Thanks again

    Plugin Author isabel104

    (@isabel104)

    Hi. See the FAQ for how to style the attributes with custom CSS.

    (Adding custom CSS is easily done in your WordPress dashboard. Go to Appearance –> Customize. Click on the “Additional CSS” tab. Enter or paste your custom CSS in the box. Click “Save & Publish”.)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Using $this when not in object context in’ is closed to new replies.