get_theme_option() on a non-object

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support get_theme_option() on a non-object

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19531
    Brenc31brenc31
    Member

    Hi there,
    I am using the Invent theme and only just started using woocommerce with it.

    I have started seeing erratic page load times, excess of 10 seconds some times.

    Only errors I can find are the following from the phperror.log

    PHP Fatal error: Call to a member function get_theme_option() on a non-object in /wp-content/themes/invent/framework/functions/page-customization.php on line 136

    PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /wp-content/themes/invent/framework/functions/page-customization.php on line 133

    Any ideas on what could be causing this?

    Many thanks

    #19564
    RaghavendraRaghavendra
    Moderator

    Can you try disabling all plugins (except WooCommerce) once and see if this error is reproducible? Looks like the theme is not getting initialized right on woocommerce pages and may be this is a plugin issue.

    #19591
    Brenc31brenc31
    Member

    Will give that a try on staging site. Thanks for suggestion.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.