I found a temporary fix for it! Apparently it is a problem with wordpress 4.4
I found a temporary fix for it! Apparently it is a problem with wordpress 4.4
I have the same problem – on all pages. Problem started after updating to 4.4.
What did you do to solve the problem?
I do have the same problem.
in the wp-includes/category-template.php file, on line 1144 change the get_the_terms code to the following…
function get_the_terms( $post, $taxonomy ) {
$terms = get_object_term_cache( $post->ID, $taxonomy );
if ( false === $terms ) {
$terms = wp_get_object_terms( $post->ID, $taxonomy );
if ( ! is_wp_error( $terms ) ) {
$to_cache = array();
foreach ( $terms as $key => $term ) {
$to_cache[ $key ] = $term->data;
}
wp_cache_add( $post->ID, $to_cache, $taxonomy . '_relationships' );
}
}
Thanx babrees. It looks like changing the code solved the issue. YEAH!!!!
OK – I have just noticed that changing the code has had some un-expected side-effects:
Venues and categories are no longer shown in events and cannot be added either.
I am sure that the code is the reason – I have just made a fresh install of wp 4.4 and the “Warning-things” came back at the top of my pages. Venues and categories visible. After entering code: Warning gone, but so are venues and categories!
It seems that the problem is not resolved after all.
Any idea, when a proper update will be available?
Yes, that is a side effect. However, the problem is with WordPress, not the events manager. I have other plugins that are effected in the same way.
I have another site that I use for trying out things. I have the same events, pages etc., but have not created proper menus and only a few widgets. This site (also running wp 4.4 and same theme) does not give any warnings. This makes me suspect that the problem occurs because of a widget or a menu, but I still have not been able to re-produce the problem on that site.
Would you, by any chance, know exactly what causes the warning?