Skip to:
Content
Pages
Categories
Search
Top
Bottom

HTTP error 500 after PHP 7.2 Upgrade


  • bennny91
    Participant

    @bennny91

    Hello all, recently upgraded to PHP 7.2 on WPengine and our BBpress Forums has decided to throw a HTTP error 500.

    The error message shown in log:

    [Wed Nov 21 2018] [php7:error] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function blockchain_replace_the_title(), 1 passed and exactly 2 expected in /nas/content/live/ep18/wp-content/themes/blockchain/inc/default-hooks.php:60\nStack trace:\n#0 [internal function]: blockchain_replace_the_title(‘Forums’)\n#1 /nas/content/live/ep18/wp-includes/class-wp-hook.php(286): call_user_func_array(‘blockchain_repl…’, Array)\n#2 /nas/content/live/ep18/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Forums’, Array)\n#3 /nas/content/live/ep18/wp-content/plugins/bbpress/includes/core/theme-compat.php(519): apply_filters(‘the_title’, ‘Forums’)\n#4 [internal function]: bbp_template_include_theme_compat(‘/nas/content/li…’)\n#5 /nas/content/live/ep18/wp-includes/class-wp-hook.php(286): call_user_func_array(‘bbp_template_in…’, Array)\n#6 /nas/content/live/ep18/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘/nas/content/li…’, Array)\n#7 /nas/content/live/ep18/wp-content/plugins/bbpress/includes/core/sub-actions.php(436): apply_filters(‘bbp_temp in /nas/content/live/ep18/wp-content/themes/blockchain/inc/default-hooks.php on line 60, referer: https://ep18.wpengine.com/

    Can anyone help?

    Is BBpress compatible with PHP 7.2?

    Thanks
    Ben

Viewing 1 replies (of 1 total)

  • Milan Petrovic
    Participant

    @gdragon

    This is not the bbPress error, it is obviously an error in the function blockchain_replace_the_title() inside your theme.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar