• Resolved mouad09

    (@mouad09)


    I’m encountering an error on a specific page within my WordPress website that uses the ReactPress plugin. I have two react projects on my site, and this error only occurs on the page associated with one project. nd for other whne i try to access to page i see this error in page, when i enable wp_debug:

    Fatal error: Uncaught Error: Call to undefined function ReactPress\Admin\repr_log() in /home/sites/23b/e/ecae83e2ed/public_html/wp-content/plugins/reactpress/public/User.php:209 Stack trace: #0 /home/sites/23b/e/ecae83e2ed/public_html/wp-content/plugins/reactpress/public/User.php(93): ReactPress\User\User->repr_load_react_app() #1 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/class-wp-hook.php(324): ReactPress\User\User->enqueue_scripts('') #2 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/script-loader.php(2262): do_action('wp_enqueue_scri...') #5 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('') #6 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/general-template.php(3052): do_action('wp_head') #9 /home/sites/23b/e/ecae83e2ed/public_html/wp-content/themes/hello-elementor/header.php(31): wp_head() #10 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/template.php(790): require_once('/home/sites/23b...') #11 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/template.php(725): load_template('/home/sites/23b...', true, Array) #12 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #13 /home/sites/23b/e/ecae83e2ed/public_html/wp-content/plugins/reactpress/templates/react-page-template.php(4): get_header() #14 /home/sites/23b/e/ecae83e2ed/public_html/wp-includes/template-loader.php(106): include('/home/sites/23b...') #15 /home/sites/23b/e/ecae83e2ed/public_html/wp-blog-header.php(19): require_once('/home/sites/23b...') #16 /home/sites/23b/e/ecae83e2ed/public_html/index.php(17): require('/home/sites/23b...') #17 {main} thrown in /home/sites/23b/e/ecae83e2ed/public_html/wp-content/plugins/reactpress/public/User.php on line 209
    Il y a eu une erreur critique sur ce site.
    
    En apprendre plus sur le débogage de WordPress.
Viewing 4 replies - 1 through 4 (of 4 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 version.

    Thread Starter mouad09

    (@mouad09)

    @rockiger

    Thank you for your reply and for addressing the issue. I appreciate your efforts in improving ReactPress.

    I’d like to know what steps I can take right now to solve this problem.

    Plugin Author rockiger

    (@rockiger)

    As I said you need hosting where the file_get_contents function of PHP is not deactivated. I can’t work around that.

    Thread Starter mouad09

    (@mouad09)

    @rockiger

    thank you it’s working

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.