Title: WordPress command access error
Last modified: April 6, 2022

---

# WordPress command access error

 *  Resolved [didier](https://wordpress.org/support/users/livioinformatique/)
 * (@livioinformatique)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/)
 * Une erreur de type E_ERROR a été causée dans la ligne 55 du fichier /var/www/
   vhosts/vivabeauty.fr/httpdocs/wp-content/plugins/yith-woocommerce-affiliates/
   includes/admin/meta-boxes/class-yith-wcaf-order-referral-commissions-meta-box.
   php. Message d’erreur : Uncaught Error: Class ‘YITH_WCAF_Commissions_Admin_Table_Premium’
   not found in /var/www/vhosts/vivabeauty.fr/httpdocs/wp-content/plugins/yith-woocommerce-
   affiliates/includes/admin/meta-boxes/class-yith-wcaf-order-referral-commissions-
   meta-box.php:55
    Stack trace: #0 /var/www/vhosts/vivabeauty.fr/httpdocs/wp-admin/
   includes/template.php(1395): YITH_WCAF_Order_Referral_Commissions_Meta_Box::print()#
   1 /var/www/vhosts/vivabeauty.fr/httpdocs/wp-admin/edit-form-advanced.php(681):
   do_meta_boxes() #2 /var/www/vhosts/vivabeauty.fr/httpdocs/wp-admin/post.php(206):
   require(‘/var/www/vhosts…’) #3 {main} thrown
 * WordPress version 5.9.3
    Thème actuel : Astra (version 3.7.9) Extension actuelle:
   YITH WooCommerce Affiliates (version 2.0.0) PHP version 7.4.28

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

 *  [jpsunshine](https://wordpress.org/support/users/jpsunshine/)
 * (@jpsunshine)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15533542)
 * Same issue here, and order pages view breaks. Thanks for any help!
 *     ```
       WordPress version 5.9.3
       Current theme: Lorena Drago (version 1.0.3)
       Current plugin: YITH WooCommerce Affiliates (version 2.0.0)
       PHP version 7.4.28
   
       Error Details
       =============
       An error of type E_ERROR was caused in line 55 of the file /chroot/home/adf54e06/57b603d56c.nxcli.net/html/wp-content/plugins/yith-woocommerce-affiliates/includes/admin/meta-boxes/class-yith-wcaf-order-referral-commissions-meta-box.php. Error message: Uncaught Error: Class 'YITH_WCAF_Commissions_Admin_Table_Premium' not found in /chroot/home/adf54e06/57b603d56c.nxcli.net/html/wp-content/plugins/yith-woocommerce-affiliates/includes/admin/meta-boxes/class-yith-wcaf-order-referral-commissions-meta-box.php:55
       Stack trace:
       #0 /chroot/home/adf54e06/57b603d56c.nxcli.net/html/wp-admin/includes/template.php(1395): YITH_WCAF_Order_Referral_Commissions_Meta_Box::print(Object(WP_Post), Array)
       #1 /chroot/home/adf54e06/57b603d56c.nxcli.net/html/wp-admin/edit-form-advanced.php(681): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
       #2 /chroot/home/adf54e06/57b603d56c.nxcli.net/html/wp-admin/post.php(206): require('/chroot/home/ad...')
       #3 {main}
       thrown
       ```
   
 *  Thread Starter [didier](https://wordpress.org/support/users/livioinformatique/)
 * (@livioinformatique)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15533556)
 * Yes, this error appears if I try to display the orders and it is therefore impossible
   to consult them. I would like to point out that this problem appeared after updating
   YITH WooCommerce Affiliates to version 2.0.
 *  Plugin Support [Antonio La Rocca](https://wordpress.org/support/users/therock130/)
 * (@therock130)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15535417)
 * Thank you very much for your report
    In a couple of hours we will release a patch
   version of the plugin to solve this issue
 * I’ll update you as soon as I have news
 *  Plugin Support [Antonio La Rocca](https://wordpress.org/support/users/therock130/)
 * (@therock130)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15535593)
 * Hi again
 * version 2.0.1 was released to solve the issue you reported; could you please 
   update to latest revision of the plugin and let me know if the problem is solved?
 * Apologies for the inconvenience
 *  Thread Starter [didier](https://wordpress.org/support/users/livioinformatique/)
 * (@livioinformatique)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15535640)
 * Problem solved on my side.
 *  [jpsunshine](https://wordpress.org/support/users/jpsunshine/)
 * (@jpsunshine)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15537135)
 * Thank you — it’s fixed for me as well. I appreciate your responsiveness!!
 *  [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * (@juaancmendez)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15540809)
 * Hello there,
 * Perfect! We are sorry for the inconvenience and we are glad that everything is
   going well now.
 * We will mark this topic as resolved.
 * Have a nice weekend!

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

The topic ‘WordPress command access error’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-affiliates/assets/icon.svg?rev=3053144)
 * [YITH WooCommerce Affiliates](https://wordpress.org/plugins/yith-woocommerce-affiliates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-affiliates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-affiliates/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-affiliates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-affiliates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-affiliates/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-command-access-error/#post-15540809)
 * Status: resolved