Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I am also experiencing this problem after upgrading to WP 4.7.1.
    Removing and reinstalling the plugin has not resolved the issue. The PHP error log contains the following fatal errors:
    [12-Jan-2017 13:39:23 UTC] PHP Fatal error: Call to undefined method Tribe__Settings_Manager::add() in E:\zzz\wp-content\plugins\the-events-calendar\common\src\Tribe\Main.php on line 237
    [12-Jan-2017 13:39:28 UTC] PHP Fatal error: Call to undefined method Tribe__Settings_Manager::add() in E:\zzz\wp-content\plugins\the-events-calendar\common\src\Tribe\Main.php on line 237
    [12-Jan-2017 13:39:36 UTC] PHP Fatal error: Call to undefined method Tribe__Settings_Manager::add() in E:\zzz\wp-content\plugins\the-events-calendar\common\src\Tribe\Main.php on line 237
    [12-Jan-2017 13:39:38 UTC] PHP Fatal error: Call to undefined method Tribe__Events__Featured_Events__Query_Helper::add() in E:\zzz\wp-content\plugins\the-events-calendar\common\src\Tribe\Main.php on line 237
    [12-Jan-2017 13:39:45 UTC] PHP Fatal error: Call to undefined method Tribe__Settings_Manager::add() in E:\zzz\wp-content\plugins\the-events-calendar\common\src\Tribe\Main.php on line 237

    Thread Starter gedm

    (@gedm)

    Thanks Tom.

    I’m feeling pretty silly about now.

    All fixed.

    Thread Starter gedm

    (@gedm)

    For anyone else who has a similar problem. I was able to resolve my issue by conducting a text search of the theme-functions.php file in the ThemeName\lib\functions\ directory.

    I searched for the term $query->set(‘post_type’ and found the following line:
    $query->set(‘post_type’, ‘post’);
    I changed it to
    $query->set(‘post_type’, array(‘post’, ‘page’));

    Saved the file and then conducted a search on the website. The pages were included in the results.

    Thread Starter gedm

    (@gedm)

    I’ve determined the search issue to associated with the theme being used. Can someone please point me in the right direction what file/code needs to be changed to include Pages in the results?

    Thanks

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