• iamaq

    (@iamaq)


    I am facing this error while trying to visit WordPress website and wp-admin.

    Warning: require(/home/quleich7/public_html/www.pinkdiamondstyles.com/wp-includes/post.php): failed to open stream: Permission denied in /home/quleich7/public_html/www.pinkdiamondstyles.com/wp-settings.php on line 166

    Warning: require(/home/quleich7/public_html/www.pinkdiamondstyles.com/wp-includes/post.php): failed to open stream: Permission denied in /home/quleich7/public_html/www.pinkdiamondstyles.com/wp-settings.php on line 166

    Fatal error: require(): Failed opening required ‘/home/quleich7/public_html/www.pinkdiamondstyles.com/wp-includes/post.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’) in /home/quleich7/public_html/www.pinkdiamondstyles.com/wp-settings.php on line 166

    anyone know the reason for this problem? I am unable to fix it. All file permision is set to 644 as recommended.
    Please help I want to fix it ASAP.
    Any suggestions will be appreciated.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter iamaq

    (@iamaq)

    The error says that the problem lies with the wp-include/post.php file, What that means?
    what does this file do?

    Moderator James Huff

    (@macmanx)

    Most likely the error is being introduced by a function conflict with a plugin or your theme, and manifesting in that file, hence my original reply.

    Thread Starter iamaq

    (@iamaq)

    Thanks for the suggestion, James Huff!
    I have tried this but nothing changed. I am still facing the same error. ??

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t access the website.’ is closed to new replies.