Topic Resolution: Resolved
  • Creator
    Topic
  • #29835

    Eric Bonar
    Participant
    Been thanked: 4 times

    I just updated one of my sites to WordPress 4.6 and when I visit the shop and product pages I get the following warning at the top of the page:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘t4pTemplateWoo’ does not have a method ‘shop_breadcrumb’ in /home/esundance/public_html/ericbonar.com/wp-includes/plugin.php on line 524

    This has happened before so hopefully your developers know what exactly to do to quickly fix the issue and release an update.

    http://ericbonar.com/shop/

    Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)
Replies
  • Daniel Jones
    Moderator
    Post count: 241
    Been thanked: 18 times
    #29839 |

    Hi Eric,

    Thanks for reaching out to us.

    Can you please give us a temporary admin access to your site in a private reply? We’ll be in a better place to spot anything suspicious from here.

    You can add new users by going to Users > Add New set the user and password for us, set the role to admin and set the info here. You can navigate here for more details; https://make.wordpress.org/support/user-manual/customizing-wordpress/managing-users-on-your-wordpress-site/adding-users-to-your-wordpress-site/.

    Hope to hear from you soon!

    Eric Bonar
    Participant
    Post count: 16
    Been thanked: 4 times
    #29862 |
    This reply has been marked as private.
    Daniel Jones
    Moderator
    Post count: 241
    Been thanked: 18 times
    #29870 |

    Hi again,

    I noticed that you have outdated versions of MySQL and PHP running on your server.

    Whilst WooCommerce supports PHP as old as 5.2, we strongly recommend you use a newer release. PHP 5.2 reached its end of life in 2011 and is no longer maintained meaning it could be a security risk. See the list of supported PHP versions for current releases. Now WooCommerce recommending its users to have PHP version 5.6.

    If you are not sure how you can update your PHP version, please contact your hosting provider support guys about this, they will be in a better spot to help you on this.

    Hope this helps!

    Eric Bonar
    Participant
    Post count: 16
    Been thanked: 4 times
    #29873 |

    The php version on one of my other sites is the same, yet it isn’t showing the same error.

    http://www.friscoheritage.org/shop/

    Denzel Chia
    Moderator
    Post count: 2878
    Been thanked: 95 times
    #29914 |

    Hi,

    I had taken a look at the codes.
    Yes, something is wrong.

    In the class t4pTemplateWoo ( found in woo-config.php ), there is no method ‘shop_breadcrumb’, this means in the written class t4pTemplateWoo, there is no function shop_breadcrumb.

    I don’t know if the function is removed intentionally or it was never written, no idea what’s that for….
    I will report this issue to our developers.

    I had logged into your website and commented out this “redundant” code.
    No error message now, and your shopping cart is working properly.

    Thank you.

    Eric Bonar
    Participant
    Post count: 16
    Been thanked: 4 times
    #30324 |

    I’m sorry this is so late, but thank you for taking care of the issue.

    1 user thanked author for this post.
    Denzel Chia
    Moderator
    Post count: 2878
    Been thanked: 95 times
    #30336 |

    You are welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.