Fatal error after updating form 1.06 to 1.0.7
hello and thanks for your plugin
I use it in some sites.
Now I am using it with dokan-lite and after updating i get this error
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/html/mysite.test/web/wp-includes/capabilities.php:877 Stack trace: #0 /var/www/html/
mysite.test
/web/wp-content/plugins/attributes-for-blocks/attributes-for-blocks.php(258): current_user_can() #1 /var/www/html/mysite.test
/web/wp-includes/class-wp-hook.php(326): wsd\afb\sanitize_attributes() #2 /var/www/html/mysite.test
/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/html/mysite.test
/web/wp-includes/kses.php(946): apply_filters() #4 /var/www/html/mysite.test
/web/wp-includes/kses.php(754): wp_kses_hook() #5 /var/www/html/mysite.test
/web/wp-admin/includes/plugin.php(188): wp_kses() #6 /var/www/html/mysite.test
/web/wp-admin/includes/plugin.php(114): _get_plugin_data_markup_translate() #7 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/vendor/appsero/client/src/Client.php(194): get_plugin_data() #8 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/vendor/appsero/client/src/Client.php(107): Appsero\Client->set_basename_and_slug() #9 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/includes/Tracker.php(39): Appsero\Client->__construct() #10 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/includes/Tracker.php(28): WeDevs\Dokan\Tracker->appsero_init_tracker_dokan() #11 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/dokan.php(527): WeDevs\Dokan\Tracker->__construct() #12 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/dokan.php(124): WeDevs_Dokan->init_appsero_tracker() #13 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/dokan.php(137): WeDevs_Dokan->__construct() #14 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/dokan.php(591): WeDevs_Dokan::init() #15 /var/www/html/mysite.test
/web/wp-content/plugins/dokan-lite/dokan.php(595): dokan() #16 /var/www/html/mysite.test
web/wp-settings.php(522): include_once(‘…’) #17 /var/www/html/mysite.
test/web/wp-config.php(106): require_once(‘…’) #18 /var/www/html/mysite.test
/web/wp-load.php(50): require_once(‘…’) #19 /var/www/html/mysite.test
/web/wp-blog-header.php(13): require_once(‘…’) #20 /var/www/html/mysite.test
/web/index.php(17): require(‘…’) #21 {main} thrown in /var/www/html/mysite.test
/web/wp-includes/capabilities.php on line 877
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس