• Ovo bi mo?da valjalo popraviti. Za slu?aj kada samo WooCommerce treba privremeno ugasiti, a da WP site ostane ?iv, ako se WooCommerce ugasi prije Woo SOLO API plugina, raspasti ?e se site i mora se u?i u recovery mode da bi se to popravilo.
    Primjer gre?ke u nastavku:

    View post on imgur.com

    Error Details
    =============
    An error of type E_ERROR was caused in line 36 of the file /srv/www.envox.eu/wp-content/plugins/woo-solo-api/src/ECommerce/WooCommerce/WooPaymentGateways.php. Error message: Uncaught Error: Call to undefined function WC() in /srv/www.envox.eu/wp-content/plugins/woo-solo-api/src/ECommerce/WooCommerce/WooPaymentGateways.php:36
    Stack trace:
    #0 /srv/www.envox.eu/wp-content/plugins/woo-solo-api/src/ECommerce/WooCommerce/WooPaymentGateways.php(52): MadeByDenis\WooSoloApi\ECommerce\WooCommerce\WooPaymentGateways->getPaymentGateways()
    #1 /srv/www.envox.eu/wp-content/plugins/woo-solo-api/src/Settings/PluginSettings.php(252): MadeByDenis\WooSoloApi\ECommerce\WooCommerce\WooPaymentGateways->getAvailablePaymentGateways()
    #2 /srv/www.envox.eu/wp-includes/class-wp-hook.php(287): MadeByDenis\WooSoloApi\Settings\PluginSettings->registerPluginSettings('')
    #3 /srv/www.envox.eu/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /srv/www.envox.eu/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /srv/www.envox.eu/wp-settings.php(557): do_action('init')
    #6 /srv/www.envox.eu/wp-config.php(92): require_once('/srv/www.envox....')
    #7 /srv/www.envox.eu/wp-load.php(37): requ
    • This topic was modified 3 years, 8 months ago by Envox d.o.o..
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Denis ?oljom

    (@dingo_d)

    Pozdrav!

    Posotoji opcija koja sprijeci aktivaciju, ali na zalost nema nacina u WordPressu da detektiram kada se WooCommerce deaktivira pa da deaktiviram svoj plugin (bar nisam nasao neki dobar nacin na koji bih to mogao napraviti :/).

    Probat cu istraziti sto se moze napraviti po tom pitanju da sprijecim ovakve erroe u buduce. Ispricavam se ako vam je prouzrocilo neke probleme ??

    Thread Starter Envox d.o.o.

    (@envox)

    Sve 5 samo naprijed, jo? smo u testnoj fazi, nema ?tete jer site nije vidljiv izvana.

    Plugin Author Denis ?oljom

    (@dingo_d)

    Verzija 2.1.0 ima provjeru je li WooCommerce plugin aktivan ili ne i ako nije onda se moj plugin deaktivira.

    Nadam se da nece vise biti fatalnih errora ??

    Thread Starter Envox d.o.o.

    (@envox)

    Testirao, radi. Puno hvala.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin ru?i WP ako je woocommerce uga?en’ is closed to new replies.