Support » Fixing WordPress » function errors after migrate to vps

  • Resolved azhamid

    (@azhamid)


    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 10 months ago by azhamid.

    The page I need help with: [log in to see the link]

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

    (@joyously)

    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 10 months ago by Joy. Reason: forgot
    Thread Starter azhamid

    (@azhamid)

    i did disable all plugins except jibit-payment and woocommerce , still get error

    Thread Starter azhamid

    (@azhamid)

    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.