• Hello,

    I hope you’re doing well. I’m reaching out because I’ve encountered a critical error on my WordPress site that only occurs when the ReactPress plugin is activated. When the plugin is deactivated, everything functions normally without any errors.

    The error displayed when ReactPress is active is as follows:

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

    Fatal error: Uncaught Error: Call to undefined function ReactPress\Admin\repr_log() in /wp-content/plugins/reactpress/public/User.php:209 Stack trace: #0 /wp-content/plugins/reactpress/public/User.php(93): ReactPress\User\User->repr_load_react_app() #1 /wp-includes/class-wp-hook.php(324): ReactPress\User\User->enqueue_scripts() #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /wp-includes/plugin.php(517): WP_Hook->do_action() #4 /wp-includes/script-loader.php(2265): do_action() #5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /wp-includes/plugin.php(517): WP_Hook->do_action() #8 /wp-includes/general-template.php(3050): do_action() #9 /wp-content/themes/hello-elementor/header.php(24): wp_head() #10 /wp-includes/template.php(810): require_once(‘…’) #11 /wp-includes/template.php(745): load_template() #12 /wp-includes/general-template.php(48): locate_template() #13 /wp-content/themes/hello-elementor/index.php(15): get_header() #14 /wp-includes/template-loader.php(106): include(‘…’) #15 /wp-blog-header.php(19): require_once(‘…’) #16 /index.php(17): require(‘…’) #17 {main} thrown in /wp-content/plugins/reactpress/public/User.php on line 209

    I’ve confirmed that this error does not occur when ReactPress is deactivated, which suggests that the issue may be specific to the plugin or its interaction with other elements of my site.

    Could you please provide me with guidance on how to troubleshoot this issue further or any specific steps I can take to diagnose the problem?

    Best regards, Reuven

    • This topic was modified 10 months, 3 weeks ago by reuvenbenitah.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rockiger

    (@rockiger)

    Thank you for your post.

    It seems your hosting the PHP function file_get_contents. Without it, ReactPress doesn’t work. The error message is misleading because of a namespace issue, I will fix that error in future versions.

    Hello @rockiger,

    We are waiting for next version, so we don’t get this error and start our project using reactpress plugin,

    Thanks & Regards,
    Rohit Sharma

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical Error Only When ReactPress Plugin Is Activated. 3.2.1=>3.2.2’ is closed to new replies.