Can you enable the debug settings in WordPress and post the error log (between code tags)?
Sounds like some kind of error that prevents the page from rendering correctly.
Notice: the_author was called with an argument that is deprecated since version 2.1 with no alternative available. in /wp-includes/functions.php on line 3195 Notice: the_author was called with an argument that is deprecated since version 1.5! Use get_the_author() instead if you do not want the value echoed. in /wp-includes/functions.php on line 3193 Notice: get_userdatabylogin wordt ontraden sinds versie 3.3! Gebruik in plaats daarvan get_user_by(‘login’). in /wp-includes/functions.php on line 3078 Notice: Undefined variable: phpexec_output in /wp-content/plugins/phpexec.php on line 67 Strict Standards: Only variables should be passed by reference in /wp-content/plugins/football-pool/pages/class-football-pool-statistics-page.php on line 195 Fatal error: Call to undefined method Football_Pool_Pool::get_jokers() in /wp-content/plugins/football-pool/classes/class-football-pool-chart-data.php on line 153
What version of the plugin are you using?
If I look in the 2.4.2 source code the method is where it should be.
I use 2.4.2! I assume you refer to the last 2 lines from the log, concerning football-pool/pages/class-football-pool-statistics-page.php and football-pool/classes/class-football-pool-chart-data.php?
In the chart-data on line 153 I have: $num_jokers = $pool->get_jokers();
In the statistics-page on line 195: $chart->data = array_shift( $chart_data->bonus_question_pie_series( $raw_data ) );
Indeed, if I scan the entire plugin for all occurrences of get_jokers, I only find this reference in the chart-data php-file.
However, after again downloading your plugin, I notice that class-football-pool-pool.php has changed and now includes the method definition:
my version:
public function __construct() {
$this->num_jokers = Football_Pool_Utils::get_fp_option( ‘number_of_jokers’, FOOTBALLPOOL_DEFAULT_JOKERS, ‘int’ );
just downloaded version:
public function __construct() {
$this->num_jokers = $this->get_jokers();
I replaced the file and now it works. Do you agree?