Title: function errors after migrate to vps
Last modified: June 22, 2020

---

# function errors after migrate to vps

 *  Resolved [azhamid](https://wordpress.org/support/users/azhamid/)
 * (@azhamid)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/function-errors-after-migrate-to-vps/)
 * after i migrate my wordpress site from shared host to vps i keep getting error
   in checkout page :
 *     ```
       Notice: order_total was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/firezy/page.php'), get_template_part, locate_template, load_template, require('/themes/firezy/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_Vc_Row->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakerySho in /home/woodblock/public_html/wp-includes/functions.php on line 5167
   
       Notice: billing_first_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/firezy/page.php'), get_template_part, locate_template, load_template, require('/themes/firezy/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_Vc_Row->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBa in /home/woodblock/public_html/wp-includes/functions.php on line 5167
   
       Notice: billing_last_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/firezy/page.php'), get_template_part, locate_template, load_template, require('/themes/firezy/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_Vc_Row->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBak in /home/woodblock/public_html/wp-includes/functions.php on line 5167
   
       Notice: billing_email was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/firezy/page.php'), get_template_part, locate_template, load_template, require('/themes/firezy/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_Vc_Row->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, require('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryS in /home/woodblock/public_html/wp-includes/functions.php on line 5167
   
       Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/Jibit.class.php:122 Stack trace: #0 /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/Jibit.class.php(188): Jibit->callCurl('/tokens/generat...', Array) #1 /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/Jibit.class.php(76): Jibit->generateNewToken() #2 /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/Jibit.class.php(33): Jibit->generateToken() #3 /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/class-jibit-wc.php(241): Jibit->paymentRequest(688500, 40209, '09173168299', 'http://woodbloc...') #4 /home/woodblock/public_html/wp-includes/class-wp-hook.php(287): WC_Jibit->Send_to_Jibit_Gateway(40209) #5 /home/woodblock/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #6 /home/woodblock/public_html/wp-includes/plugin.ph in /home/woodblock/public_html/wp-content/plugins/jibit-woocommerce-payment-gateway/Jibit.class.php on line 122
       ```
   
 * i dont know whats wrong , i dont have any idea
    in shared host i was using this
   payment plugin and was working great
    -  This topic was modified 5 years, 11 months ago by [azhamid](https://wordpress.org/support/users/azhamid/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-errors-after-migrate-to-vps%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/function-errors-after-migrate-to-vps/#post-13020494)
 * It could be a difference of PHP version, but the culprit is in the WP Bakery 
   plugin, so you should ask at that support forum. We don’t know their code here.
   
   Edit: Sorry, the Notices are in the WP Bakery, but the error is in the jibit-
   woocommerce-payment-gateway plugin, since it can’t find `curl_init()`. This should
   be part of your PHP library. Ask your host for how to make sure it is.
    -  This reply was modified 5 years, 11 months ago by [Joy](https://wordpress.org/support/users/joyously/).
      Reason: forgot
 *  Thread Starter [azhamid](https://wordpress.org/support/users/azhamid/)
 * (@azhamid)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/function-errors-after-migrate-to-vps/#post-13020519)
 * i did disable all plugins except jibit-payment and woocommerce , still get error
 *  Thread Starter [azhamid](https://wordpress.org/support/users/azhamid/)
 * (@azhamid)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/function-errors-after-migrate-to-vps/#post-13020646)
 * i did install php-curl on server and problem solved
    thank you all

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

The topic ‘function errors after migrate to vps’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [azhamid](https://wordpress.org/support/users/azhamid/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/function-errors-after-migrate-to-vps/#post-13020646)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
