Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter dekkerpj

    (@dekkerpj)

    thanks, I’ll do that

    Thread Starter dekkerpj

    (@dekkerpj)

    Thanks Antoine, I agree that the filter is the cause. Deactivating it solves the problem.
    I see your quoted function in line 504 of class-football-pool-matches.php. But what change then do you suggest?

    Thread Starter dekkerpj

    (@dekkerpj)

    The relative URL is /user. You get there by clicking on a user name in the ranking or by selecting All predictions from the menu.
    You defined the lead sentence on that page to be:
    Below are all the predictions for <username>.
    Only matches and bonus questions that can’t be changed are shown here.

    At this moment in Euro 2016, you’d expect to see the users’predictions for the 4 matches that have been played. However, it shows the inverse: only the matches that have not yet been played (and then of course without filled-in score since it can still be changed).

    Note: I used a filter you provided for limiting the list of matches to do just that on a users’ personal predicion sheet (URL: /pool): to show only the matches for which the result can still be changed. It should have no influence on the /user page but I thought I’d mention it.

    By the way, I notice you’re working long and late and probably wish have a private life too. Thanks and be aware of the balance.

    Thread Starter dekkerpj

    (@dekkerpj)

    Thank you Antoine, I solved it with your suggestion of using the hook mentioned in the help-file.

    Thread Starter dekkerpj

    (@dekkerpj)

    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?

    Thread Starter dekkerpj

    (@dekkerpj)

    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 ) );

    Thread Starter dekkerpj

    (@dekkerpj)

    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

    I noticed that the file upload folder gets created in wp-content/uploads/bp-attachments but the file is not saved there and the error message as mentioned above appears.

    I have exactly the same issue. Uploading a doc just from your member profile (not as admin and not from within a group) works however and you can indicate there that the doc belongs to a group. It’s a workaround although not optimal.
    WP 3.5.1 buddypress docs 1.4.4 buddypress 1.7.2

    Thread Starter dekkerpj

    (@dekkerpj)

    The Twentyten originally came with WordPress (3.1 I think). When I got the issue mentioned above, I upgraded to version 1.5 of the theme via the WordPress dashboard. No change.

    Thread Starter dekkerpj

    (@dekkerpj)

    Pretty sure. When I disable all plugins I get exactly the same results (didn’t remove them for then I would loose all settings). But I checked the page source for some obscured loading of a plugin related file, but nothing related to a plugin is loaded.

    Furthermore, with all plugins active, the TinyMCE renders correctly in the Twentyeleven and twelve themes.

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