Missing 'css' method on PageNavi_Core?
-
I’ve recently been seeing the following error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'PageNavi_Core' does not have a method 'css' in C:\Users\grant\Projects\Websites\infectionNet\wp-includes\plugin.php on line 429
At the top of any front-end page, even when PageNavi is not being used on the page. The error appears even if I uncheck the Use pagenavi-css.css option in the plugin settings. Also, when the option is enabled, the output – the plugin does seem to otherwise work functionally – does not receive any default styling from the plugin.
My theme uses PageNavi in just one place, a custom function used as a template tag:
if ( function_exists( 'wp_pagenavi' ) ) { wp_pagenavi(); return; }
I’m using WordPress 3.7, and PageNavi 2.83. This is currently on a local site, and the error strangely does not appear on the live equivalent.
- The topic ‘Missing 'css' method on PageNavi_Core?’ is closed to new replies.