Title: Server 500 error
Last modified: January 12, 2017

---

# Server 500 error

 *  [drawcard](https://wordpress.org/support/users/drawcard/)
 * (@drawcard)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/server-500-error-7/)
 * This plugin has just taken down a website I administer – the error is as follows:
 * [12-Jan-2017 05:09:28 UTC] PHP Fatal error: require_once(): Failed opening required”(
   include_path=’.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php’) 
   in /home/tropicec/public_html/wp-content/plugins/yith-essential-kit-for-woocommerce-
   1/yith-jetpack.php on line 206
    [12-Jan-2017 05:10:43 UTC] PHP Warning: array_shift()
   expects parameter 1 to be array, null given in /home/tropicec/public_html/wp-
   content/plugins/yith-essential-kit-for-woocommerce-1/yith-jetpack.php on line
   205 [12-Jan-2017 05:10:43 UTC] PHP Warning: require_once(/home/tropicec/public_html):
   failed to open stream: No such file or directory in /home/tropicec/public_html/
   wp-content/plugins/yith-essential-kit-for-woocommerce-1/yith-jetpack.php on line
   206 [12-Jan-2017 05:10:43 UTC] PHP Fatal error: require_once(): Failed opening
   required ” (include_path=’.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/
   share/php’) in /home/tropicec/public_html/wp-content/plugins/yith-essential-kit-
   for-woocommerce-1/yith-jetpack.php on line 206

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/server-500-error-7/#post-8674189)
 * Hi drawcard,
 * we are sorry for the incovenience, before we send an update follow this simple
   step to solve:
 * find the code below in the “wp-content/plugins/yith-essential-kit-for-woocommerce-
   1/yith-jetpack.php” file :
 *     ```
       public function plugin_fw_loader() {
                   if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
                       global $plugin_fw_data;
                       $plugin_fw_file = array_shift( $plugin_fw_data );
                       require_once( $plugin_fw_file );
                   }
               }
       ```
   
 * and change it in this way :
 *     ```
       public function plugin_fw_loader() {
                   if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
                       global $plugin_fw_data;
                       if ( ! empty( $plugin_fw_data ) ) {
                           $plugin_fw_file = array_shift( $plugin_fw_data );
                           require_once( $plugin_fw_file );
                       }
                   }
               }
       ```
   
 * YIThemes

Viewing 1 replies (of 1 total)

The topic ‘Server 500 error’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/server-500-error-7/#post-8674189)
 * Status: not resolved