Home Forums Basel support forum Problem in errorlog file

Problem in errorlog file

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #55226

    Felixwebsimple
    Participant

    I get tons of this warning in my error log

    [29-Apr-2018 09:32:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘basel_child_woocommerce_hooks’ not found or invalid function name in /home/ulook/public_html/wp-includes/class-wp-hook.php on line 286

    I use a child theme

    Can you help me solve it

    Thnak you

    #55326

    Artem Temos
    Keymaster

    Hello,

    Please, check your admin and FTP access. We can’t log in now.

    Thank you in advance.

    #57711

    Felixwebsimple
    Participant

    Sorry for being late to answer back. I’m giving you new credentials:

    Im getting a huge load of errors in error log

    #57780

    Artem Temos
    Keymaster

    We can’t login with this FTP access.

    #57813

    Felixwebsimple
    Participant

    I’m sorry please try these settings on your ftp client:

    #57817

    Artem Temos
    Keymaster

    The error is caused by this line of code, try to remove it http://prntscr.com/jihzjd

    #58077

    Felixwebsimple
    Participant

    Well i tried that and the website does not even function, so I had to put this line back

    It seem that it is connected to some customization you’ve made for me long time ago.

    Up to line 614 of functions.php in childtheme is code created by you.

    #58083

    Artem Temos
    Keymaster

    We have removed that line for you. Please, check.

    #58103

    Felixwebsimple
    Participant

    Thank you!

    Well it seems that this error is solved but now I got a bunch of new errors in error log

    [[17-May-2018 13:00:08 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_COD->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:00:08 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_COD->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:00:08 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_COD->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:00:08 UTC] The WC_Order::email_order_items_table function is deprecated since version 3.0. Replace with wc_get_email_order_items.
    [17-May-2018 13:00:08 UTC] The WC_Order_Item_Meta::__construct function is deprecated since version 3.1. Replace with WC_Order_Item_Product.
    [17-May-2018 13:00:08 UTC] The WC_Order::email_order_items_table function is deprecated since version 3.0. Replace with wc_get_email_order_items.
    [17-May-2018 13:00:08 UTC] The WC_Order_Item_Meta::__construct function is deprecated since version 3.1. Replace with WC_Order_Item_Product.
    [17-May-2018 13:00:08 UTC] The WC_Order::display_item_downloads function is deprecated since version 3.0. Replace with wc_display_item_downloads.
    [17-May-2018 13:00:08 UTC] id was called incorrectly. Οι ιδιότητες προϊόντος δε θα έπρεπε να προσπελαύνονται απευθείας. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_COD->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_Processing_Order->trigger, WC_Email->get_content, WC_Email_Customer_Processing_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/customer-processing-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->email_order_items_table, wc_get_email_order_items, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-items.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.

    #58108

    Artem Temos
    Keymaster

    These errors are not theme related.

    #58117

    Felixwebsimple
    Participant

    Oh ok

    I understood

    I just made a test order and saw that after I completed the order i had these errors generated again

    Please could you help me trace where the problem is created and from what thing? I f it is not theme related I’m willing to pay for the extra service and help me clean up the website from errors

    [17-May-2018 13:55:21 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:55:21 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:55:21 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2018 13:55:21 UTC] The WC_Order::email_order_items_table function is deprecated since version 3.0. Replace with wc_get_email_order_items.
    [17-May-2018 13:55:21 UTC] The WC_Order_Item_Meta::__construct function is deprecated since version 3.1. Replace with WC_Order_Item_Product.
    [17-May-2018 13:55:22 UTC] The WC_Order::email_order_items_table function is deprecated since version 3.0. Replace with wc_get_email_order_items.
    [17-May-2018 13:55:22 UTC] The WC_Order_Item_Meta::__construct function is deprecated since version 3.1. Replace with WC_Order_Item_Product.

    #58121

    Felixwebsimple
    Participant

    also are you sure this error is not theme related? because it refers to the theme

    [17-May-2018 13:55:21 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’),WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/themes/basel-child/woocommerce/emails/email-order-details.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0

    #58131

    Artem Temos
    Keymaster

    Sorry, but we are not available for custom development at the moment. We can suggest you to hire our partners to do this job https://wpkraken.io/?ref=xtemos.studio

    #59040

    Felixwebsimple
    Participant

    I want to ask about the color #c7254e that appears in the description of the product.

    I have made a function calling the attributes of the product, but they take this odd red/pink color.

    What css should i add to the child theme in order to change it?

    Thank you

    #59050

    Hello,

    This color is originated from the plugin, please have a look, find the settings and change http://prntscr.com/jlrgdo

    Best Regards

    #59056

    Felixwebsimple
    Participant

    this color #c7254e
    appears in bootstrap.min.css in basel theme, not in a plugin

    #59102

    Hello,

    Now I am checking the product and do not see the problem. Please clarify.

    Best Regards

    #61054

    Felixwebsimple
    Participant

    I have no idea how this thing changed, I’m still trying to figure it out.

    #61061

    Artem Temos
    Keymaster

    OK, write us if you will have any further information.

Viewing 19 posts - 1 through 19 (of 19 total)