Support » Plugin: Cleverwise phpBB Statistics » need a fix for phpv7.x

  • raykaii

    (@raykaii)



    not working when using phpv7 and up. when saving the Options all text box is replaced with <

    yes, its a < its not a typo… php error log is this:

    AH01071: Got error 'PHP message: PHP Warning: Illegal string offset 'forum_1_name' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 251\nPHP message: PHP Warning: Illegal string offset 'forum_1_url' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 252\nPHP message: PHP Warning: Illegal string offset 'forum_1_key' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 253\nPHP message: PHP Warning: Illegal string offset 'forum_1_refresh_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 254\nPHP message: PHP Warning: Illegal string offset 'forum_1_updated_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 255\nPHP message: PHP Warning: Illegal string offset 'forum_1_stats' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 256\nPHP message: PHP Warning: Illegal string offset 'forum_2_name' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 258\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 258\nPHP message: PHP Warning: Illegal string offset 'forum_2_url' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 259\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 259\nPHP message: PHP Warning: Illegal string offset 'forum_2_key' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 260\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 260\nPHP message: PHP Warning: Illegal string offset 'forum_2_refresh_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 261\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 261\nPHP message: PHP Warning: Illegal string offset 'forum_2_updated_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 262\nPHP message: PHP Warning: Illegal string offset 'forum_2_stats' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 263\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 263\nPHP message: PHP Warning: Illegal string offset 'forum_3_name' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 265\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 265\nPHP message: PHP Warning: Illegal string offset 'forum_3_url' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 266\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 266\nPHP message: PHP Warning: Illegal string offset 'forum_3_key' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 267\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 267\nPHP message: PHP Warning: Illegal string offset 'forum_3_refresh_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 268\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 268\nPHP message: PHP Warning: Illegal string offset 'forum_3_updated_ts' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 269\nPHP message: PHP Warning: Illegal string offset 'forum_3_stats' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 270\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 270\nPHP message: PHP Warning: Illegal string offset 'phpbb_stats_format' in /wp-content/plugins/cleverwise-phpbb-statistics/psa.php on line 272\n', referer: https://DOMAIN.COM/wp-admin/options-general.php?page=cw-phpbb-stats

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy O’Connell

    (@cyberws)

    The plugin does function on PHPv7 as that is what https://www.armadafleetcommand.com is using.

    However I do have a few questions:

    1) Where are you seeing this error? Main site or in the control panel?

    2) Is there any data in the fields?

    3) Did you install the corresponding wpapi files in phpBB?

    Plugin Author Jeremy O’Connell

    (@cyberws)

    Okay I see the warning. I’ll look into it.

    Plugin Author Jeremy O’Connell

    (@cyberws)

    I thought I could reproduce the error but I wasn’t able too.

    I would try this.

    1) Make a backup copy of “psa.php” in “/wp-content/plugins/cleverwise-phpbb-statistics”

    2) Open “psa.php” using your text editor.

    3) Alter line 251 from

    $pbbs_wp_option_array=array();

    to

    $pbbs_wp_option_array=array('forum'=>'3');

    4) Save and if necessary upload overwriting the file.

    5) Did that help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘need a fix for phpv7.x’ is closed to new replies.