• Oliver

    (@oliveroliversuthernscom)


    When users try to register for our bbpress forum, they are being presented with at PHP 500 Error. Error log below. Please advise.

    [23-Apr-2025 11:24:36 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/bladderc/public_html/forums/wp-content/themes/total-child-theme/bccforumtmlcf.php:693 Stack trace: #0 /home/bladderc/public_html/forums/wp-includes/class-wp-hook.php(324): bcc_tml_registration_errors() #1 /home/bladderc/public_html/forums/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/bladderc/public_html/forums/wp-includes/user.php(3532): apply_filters() #3 /home/bladderc/public_html/forums/wp-content/plugins/theme-my-login/includes/actions.php(606): register_new_user() #4 /home/bladderc/public_html/forums/wp-includes/class-wp-hook.php(324): tml_registration_handler() #5 /home/bladderc/public_html/forums/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/bladderc/public_html/forums/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/bladderc/public_html/forums/wp-content/plugins/theme-my-login/includes/actions.php(373): do_action() #8 /home/bladderc/public_html/forums/wp-includes/class-wp-hook.php(324): tml_action_handler() #9 /home/bladderc/public_html/forums/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /home/bladderc/public_html/forums/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /home/bladderc/public_html/forums/wp-includes/template-loader.php(13): do_action() #12 /home/bladderc/public_html/forums/wp-blog-header.php(19): require_once(‘/home/bladderc/…’) #13 /home/bladderc/public_html/forums/index.php(17): require(‘/home/bladderc/…’) #14 {main} thrown in /home/bladderc/public_html/forums/wp-content/themes/total-child-theme/bccforumtmlcf.php on line 693

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Oliver

    (@oliveroliversuthernscom)

    Our host identified the problem and corrected it. Will this problem be reinstated when an update to the plugin is provided? See message from host below:

    The issue was located in the following file:
    /home/bladderc/public_html/forums/wp-content/themes/total-child-theme/bccforumtmlcf.php

    The root cause was that the variable $origen was initialized as a string and then accessed as an array, which led to a fatal error.

    I’ve updated the line from:
    $origen = ”;
    to:
    $origen = [];

    Plugin Author Jeff Farthing

    (@jfarthing84)

    So, this issue and the fix has nothing to do with TML.

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

The topic ‘PHP 500 Error’ is closed to new replies.