• Resolved ilan76

    (@ilan76)


    Hi,

    I followed all the instructions but after the build I see these errors on the react page:

    Warning: include(C:xampphtdocswpwp-contentpluginsreactpress/templates/react-page-template.php): failed to open stream: No such file or directory in C:\xampp\htdocs\wp\wp-includes\template-loader.php on line 106

    Warning: include(): Failed opening ‘C:xampphtdocswpwp-contentpluginsreactpress/templates/react-page-template.php’ for inclusion (include_path=’C:\xampp\php\PEAR’) in C:\xampp\htdocs\wp\wp-includes\template-loader.php on line 106

    Any idea what is the issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author rockiger

    (@rockiger)

    I am sorry, I don’t have any idea what the problem could be. Could you use localWP instead of Xampp and see if the issue persists?

    Thread Starter ilan76

    (@ilan76)

    It seems for some reason it doesn’t read the url path format correctly to the theme:

    “Warning: include(C:xampphtdocswpwp-contentpluginsreactpress/templates/react-page-template.php): failed to open stream: No such file …”

    should be “C:/xampp/htdocs/wp/wp-content/plugins/reactpress/…”

    Plugin Author rockiger

    (@rockiger)

    @ilan76 As I said, try localWP. It is free and known to work well with ReactPress. Windows Dev-Systems that run on bare metal are not supported by ReactPress, because I can’t test on them.

    Do your self a favor and use localWP.

    I used localwp on windows but getting same error.

    Plugin Author rockiger

    (@rockiger)

    This is odd.

    I use plugin_dir_path() to create the path. I can’t tell you why the slashes are ommited.

    I can’t debug this properly, ’cause I don’t have a working Windows system. Sorry.

    If you want to investigate the error further. I am happy to accept a pull request.

    Best

    I think that the REPR_PLUGIN_PATH has slash.

    C:\xampp-php7.4\htdocs\wordpress\wp-content\plugins\reactpress/

    But at when getting template file, it’s disappear

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting an Error’ is closed to new replies.