Ahoj, pouzivam poslednu verziu 0.6a a narazil som na problem, pouzivam iny plugin pre google feed ktory ma upozornil ze je problem s wp-cron.php, ked si subor otvorim v prehliadaci zobrazi mi wordpress hlasku s kritickou chybou.
Po deaktivovani ceske sluzby chyba zmizne, ak si otvorim woocommerce -> logy najdem tam toto:
CRITICAL Uncaught Error: Call to a member function get() on null in ../wp-content/plugins/ceske-sluzby/includes/ceske-sluzby-functions.php:613
Stack trace:
#0 ../wp-content/plugins/ceske-sluzby/ceske-sluzby.php(1793): zkontrolovat_nastavenou_hodnotu(”, Array, ”, ‘platebni_metody’, ‘ceske_sluzby_pl…’)
#1 ../wp-includes/class-wp-hook.php(307): ceske_sluzby_dostupne_platebni_metody(Array)
#2 ../wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#3 ../wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters(‘woocommerce_ava…’, Array)
#4 ../wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Ta v ../wp-content/plugins/ceske-sluzby/includes/ceske-sluzby-functions.php na riadku 613
Na riadku 613 sa nachadza:
$shipping_methods = WC()->session->get( ‘chosen_shipping_methods’ );
Niesom si isty ci tento error suvisi s wp-cron alebo je chyba niekde inde. Mate niekto napad ako to vyriesit?