• Hello,

    I have started getting random “fatal errors” for my website. At first I had a different one, after I changed my PHP version (it was 7.0, changed it to 7.3), it started showing the below error. I am unable to reach the /wp-admin, which excludes all provided answers that I have found… Can someone help me?

    Warning: require(/home/customer/www/dianaoffduty.com/public_html/wp-includes/block-patterns/text-two-columns.php): failed to open stream: No such file or directory in /home/customer/www/dianaoffduty.com/public_html/wp-includes/block-patterns.php on line 37
    
    Fatal error: require(): Failed opening required '/home/customer/www/dianaoffduty.com/public_html/wp-includes/block-patterns/text-two-columns.php' (include_path='.:/usr/local/php73/pear') in /home/customer/www/dianaoffduty.com/public_html/wp-includes/block-patterns.php on line 37

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @dianazhel,

    This sometimes happens if WordPress is not installed correctly, you may need to re-install WordPress. But it’s better if you do it manually.

    1.Download Wp from wordpress.org
    2. Unzip on your computer
    3. Upload the files and directories to the public_html directory on your server

    you can follow this article for manual installation.

    How to install WordPress

    Thread Starter dianazhel

    (@dianazhel)

    Hi, @adriantaites87

    Thanks for the suggestion! Do I need to uninstall WP first?d

    Thread Starter dianazhel

    (@dianazhel)

    Okay, I have found the folder with the missing ‘text-two-columns.php’ file, but I can’t find the file in the new WP zip? Is it something that has been removed? If so, how can I fix it.

    Installing WP again didn’t fix the issue.

    Hi @dianazhel,

    Did you uninstall and then re-install it? Are you getting the same error code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘failed to open stream: No such file or directory’ is closed to new replies.