Notifications
Clear all

[Solved] Getting critical error on website if value set for my new custom checkbox field

9 Posts
2 Users
0 Reactions
286 Views
Posts: 7
Topic starter
(@projectuscc)
Active Member
Joined: 3 weeks ago
[#14825]

I just added this plugin. I created two custom fields. One of them is a checkbox. It's a single checkbox for opt-in purposes. When the value is checked for a user, it breaks the member search page when it runs into that user that has the value checked and stops displaying other profiles after it.

The message below occurs inside the profile box of the user on the Forum Members search page, right below where it says New Member (half star):

"There has been a critical error on this website.
Learn more about troubleshooting WordPress."


8 Replies
Posts: 7
Topic starter
(@projectuscc)
Active Member
Joined: 3 weeks ago

Hi, any assistance would be appreciated. Let me know if more information is needed.


1 Reply
Astghik
Admin
(@astgh)
Joined: 9 years ago

Illustrious Member
Posts: 6773

@projectuscc

I've already asked our developers to investigate the issue. The team is currently trying to reproduce it on our test websites.

Could you please record a short video showing the steps that lead to the issue? This will help us follow the same steps and reproduce it on our end.


Posts: 7
Topic starter
(@projectuscc)
Active Member
Joined: 3 weeks ago

Thank you. Since this involves the Members list which is sensitive info I'm just including a couple screenshots, showing the checkbox field I added and what happens if that checkbox is checked for a user.

image
image

Astghik
Posts: 6773
Admin
(@astgh)
Illustrious Member
Joined: 9 years ago

Hi,

The "There has been a critical error on this website" message usually indicates a PHP fatal error. To help us identify its cause, please follow these troubleshooting steps:

1. Enable wpForo Debug Mode

  • Navigate to Dashboard > Forums > Settings > Features.

  • Find Enable Debug Mode, set it to Yes, and click Update Options.

2. Check wpForo Errors & Issues

  • Navigate to Dashboard > Forums > Tools > Debug > Errors & Issues.

  • Check the reported errors and issues.

  • Please share a screenshot of this section with us.

3. Enable WordPress Debug Logging

If the wpForo debugging section doesn't provide enough information, please enable WordPress debugging.

Open your wp-config.php file and add or update the following constants:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Then reproduce the issue and check the wp-content/debug.log file for PHP fatal errors.

Please share the relevant error messages with us so we can investigate further.

If you cannot access the WordPress dashboard or locate the debug log, please contact your hosting provider and ask them to check the PHP error logs.

Useful references:

Thank you!


Posts: 7
Topic starter
(@projectuscc)
Active Member
Joined: 3 weeks ago

wpForo debug didn't show any errors when reproducing the issue, but enabling WordPress debug mode did produce error output. I've attached it as a text file.

 


1 Reply
Astghik
Admin
(@astgh)
Joined: 9 years ago

Illustrious Member
Posts: 6773

@projectuscc

We'll investigate this and get back to you as soon as we hear from the developers. I'll update this topic once I receive their feedback.


Page 1 / 2
Share:
Scroll to top