Viewing 6 replies - 1 through 6 (of 6 total)
  • !Benni

    (@benniledl)

    Hi, this are PHP Warnings, they are not errors so no need to worry, you can just silence them:

    https://localwp.com/help-docs/troubleshooting/warnings-and-errors-in-local/#orgb279f15

    Thread Starter saznajmo

    (@saznajmo)

    Hi,

    thanks for the reply, but I wonder why they appear?
    This happens when I optimize the page using the one-click option offered by my theme. When I try to optimize, this warning first appears, and the WP Super Cache and Autoptimize plugins are not installed. Plugins are installed only after the second attempt.

    Does it apply to any restrictions on folders?
    Because when I install WP Super Cache on localhost I get a warning:
    You should change the permissions on C:\xampp\htdocs\TheGemTesting/wp-content and make it more restrictive. Use your ftp client, or the following command to fix things: chmod 755 C:\xampp\htdocs\TheGemTesting/wp-content/

    Thanks again.

    !Benni

    (@benniledl)

    No this has nothing to do with file permissions. This is just incorrect coding practices in a plugin but you can just silence these warnings and do not need to worry about them.

    Thread Starter saznajmo

    (@saznajmo)

    Hi,

    But when I get these warnings, the cache plugins that should be installed and configured with optimization are not installed.
    I was able to turn off the warnings with this command, but it didn’t solve the problem. I don’t know if it’s correct that I get this warning that it failed first, and then it succeeds?
    Do I turn off all warnings unrelated to this issue with these commands as well?

    Thanks a lot for help.

    Thread Starter saznajmo

    (@saznajmo)

    Hi Benni,

    Any info today?

    Thread Starter saznajmo

    (@saznajmo)

    Hi,

    I keep getting warnings, even though you said it was incorrect coding practice, it’s strange that only I get the warning, and my theme provider doesn’t. Also, when I reported to the support of the plugin, they did not warn that there was a malfunction, but only told me to reinstall, which of course did not help.

    Warning: include_once(/home/opossumd/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /home/opossumd/public_html/wp-content/advanced-cache.php on line 22

    Warning: include_once(): Failed opening ‘/home/opossumd/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ for inclusion (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/opossumd/public_html/wp-content/advanced-cache.php on line 22

    Warning: Cannot modify header information – headers already sent by (output started at /home/opossumd/public_html/wp-content/advanced-cache.php:22) in /home/opossumd/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility.php on line 216

    Warning: Cannot modify header information – headers already sent by (output started at /home/opossumd/public_html/wp-content/advanced-cache.php:22) in /home/opossumd/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility.php on line 216

    Warning: Cannot modify header information – headers already sent by (output started at /home/opossumd/public_html/wp-content/advanced-cache.php:22) in /home/opossumd/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility.php on line 216

    • This reply was modified 12 months ago by saznajmo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with WordPress aftes installing some plugins’ is closed to new replies.