• Resolved mikefile

    (@mikefile)


    I get the following error

    Notice: Undefined variable: style in /var/www/vhosts/aw002.de/beidora210107.aw002.de/wp-content/plugins/wc-product-table-pro/pro/templates/media_image.php on line 31

    Correct line:
    if(!empty($style) && (!empty($style['[id]']) && !empty($style['[id]']['width']))) {

    Wrong/Current line:
    if( ! empty( $style && ! empty( $style['[id]'] ) && ! empty( $style['[id]']['width'] ) ) ){

    I hope this can help you, looks like the developer got confused with the parentheses.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikefile

    (@mikefile)

    I see, I use the pro version

    Plugin Author WC Product Table

    (@wcproducttable)

    Hi Mike,

    Thank you for writing in with your feedback.

    Yes, I have noted that error and fixed it for the coming update.

    Please feel free to write in if you have any further comments / questions.

    You can also get in touch over mail via the plugin’s support form.

    Regards,
    Kartik

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Error on Table’ is closed to new replies.