• Resolved georg77

    (@georg77)


    Hi everyone,

    I tried to install your plugin on my shop and it crashed the site, i.e. failed to load the content and displayed a few php errors instead. One was about an undefined Operator in line 266 of woocommerce-trusted-shops.php

    I changed line 266 from
    $GLOBALS['template_name'][] = $template_name;
    to
    $GLOBALS['template_name'] = $template_name;

    which solved the issue. Unfortunately I now have an altered version of your plugin that will be overwritten with the next update.

    Could you please fix the issue?

    Thanks in advance

    Georg

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi there,

    which PHP version are you currently using? Are you using a Plugin for the german market? by default this code shouldn’t throw errors.

    cheers

    Thread Starter georg77

    (@georg77)

    PHP-Version is 7.0.12
    The Plugin we are using is called WooCommerce German Market by MarketPress.

    Thanks!

    Thread Starter georg77

    (@georg77)

    Any updates?

    Thanks and kind regards

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    fixed in 2.1.0.

    cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bug in woocommerce-trusted-shops.php’ is closed to new replies.