compil3r
Forum Replies Created
-
Turns out this is because of another plugin, called “Feedwordpress Advanced Filters”. I forgot I installed it. So, support on this should be posted on their site instead.
So, I fly away!
- This reply was modified 8 years, 1 month ago by compil3r.
Full error is:
Fatal error: Uncaught Error: Cannot access protected property FeedWordPressPostsPage::$context in /wp-content/plugins/faf/feedwordpress_advanced_filters.php:464 Stack trace: #0 /wp-content/plugins/faf/feedwordpress_advanced_filters.php(622): FeedWordPressAdvancedFilters->get_page_type(Object(FeedWordPressPostsPage)) #1 /wp-content/plugins/faf/feedwordpress_advanced_filters.php(447): FeedWordPressAdvancedFilters->save_filter_options(Object(FeedWordPressPostsPage), Array) #2 /wp-includes/class-wp-hook.php(298): FeedWordPressAdvancedFilters->posts_save(Array, Object(FeedWordPressPostsPage)) #3 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /wp-content/plugins in /wp-content/plugins/faf/feedwordpress_advanced_filters.php on line 464
Line 464 is “switch($page->context)” inside this:
/** * Determines the current page type and context * * In Feedwordpress there is a difference between the multiple pages ( context ) and hence settings. * This function is the general way to determine where we are. * * @param Object $page Page Feedwordpress Page Object * @return String page_type The name of the current 'context' * * @since 0.1 */ protected function get_page_type($page) { switch($page->context) { case "feedwordpresscategories": case "feedwordpresscategoriesforfeed": $page_type = "categories"; break; case "feedwordpresspostspage": case "feedwordpresspostspageforfeed": $page_type = "posts"; break; } return $page_type; }
I’ve been checking info on the web and it seems the solution is to use a reflection class, but no idea how to change that here. I will keep trying. If anyone can help, please do. Thanks!
Forum: Plugins
In reply to: [Max Mega Menu] Custom styling a single menu item by IDOh I need pro version then. Ok, thanks!
Forum: Plugins
In reply to: [Max Mega Menu] Custom styling a single menu item by IDYes, I am selecting on Admin > Max Mega Menu > Menu Themes > Default, and then the highlighted item I want to change is in fact one of the top level links of the menu. If I change options on that default theme, the menu reacts (like changing font weight to bold) but nothing I put on custom CSS works.
Forum: Plugins
In reply to: [Network Publisher] An error occurred while posting to the Facebook PageIt is working again, out of nothing, since 5 days ago.
Last thing I did was clean the database from many unused entries that the plugin “NextGen Gallery” left on table wp_options, this is a well known problem with the plugin (generates a lot of useless cache).
Site was very slow on every click, admin and frontend.
I wasn’t using galleries a lot, so after the cleanup I deleted the plugin. Site is fast and normal again.
My thoughts are that maybe that slowdown prevented the facebook posting from completing some process, and then failing in the end.
In any case, it is working again, and I didn’t do anything on the facebook or network publisher side.
So, check your database from unused entries (my wp_options table was unusually big with more than 500,000 cache records!), hope this helps!
Forum: Plugins
In reply to: [Network Publisher] An error occurred while posting to the Facebook PageI can’t believe I am the only one in the planet who has this issue.
Forum: Plugins
In reply to: [Network Publisher] An error occurred while posting to the Facebook PageUPDATE: Today I tried to add the API of another Facebook Page of mine, and from the same website, from the same admin, it gets published on the new one!
And of course, the publication on the original FB page, does NOT get published and gives the same error.
Any idea what could be wrong?
Solution is here, worked great for me:
https://www.ads-software.com/support/topic/plugin-theme-test-drive-error-message-on-wp-332?replies=3