This is showing on my site and I do not understand what it means so not sure how to fix. If someone could help me understand and help fix I would be grateful, thank you
]]>Warning: Unexpected character in input: ‘ in?/home/planners/public_html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php?on line?192
]]>/wp-includes/js/scriptaculous/wp-scriptaculous.js
There is no scriptaculous folder in wp-includes/js
Should there be?
]]>why are scripts in wp-includes not aggregated?
]]>I found that we can set the following Constants for wp-content folder and wp-plugins folder
WP_CONTENT_DIR, WP_CONTENT_URL, WP_PLUGIN_DIR and WP_PLUGIN_URL
So how do we set the WP_ADMIN_DIR, WP_INCLUDES_DIR and virtual routes with wordpress core? If we can do it we can serve websites with one core base and multiple websites under single core base.
Any comments on this?
]]>Fatal error: Class ‘WP_Theme_JSON_Schema’
/home/XXXXXXXXXXXXX/public_html/wp-includes/class-wp-theme-json.php?on line?403
There has been a critical error on this website.
]]>The issue with your site is a problem with the code:
[Tue Jul 05 13:14:08.278456 2022] [php7:warn] [pid 63638] [client 213.152.162.99:50546] PHP Warning: require_once(/var/www/heddacoconsulting.co.za/www/html/wp-includes/cache.php): failed to open stream: No such file or directory in /var/www/heddacoconsulting.co.za/www/html/wp-includes/load.php on line 716
[Tue Jul 05 13:14:08.279210 2022] [php7:error] [pid 63638] [client 213.152.162.99:50546] PHP Fatal error: require_once(): Failed opening required '/var/www/heddacoconsulting.co.za/www/html/wp-includes/cache.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/heddacoconsulting.co.za/www/html/wp-includes/load.php on line 716
The error message shows which line of code, in which file is as fault
I have downloaded the text file and this is what line 716 is about
require_once ABSPATH . WPINC . ‘/cache.php’;
Please assist if possible because I have no clue what needs to be done.
Regards
]]>Obviously for security purposes I would want to remove the visibility of those folders.
Is this tutorial accurate and would doing this help solve the problem?
Here is the link: https://www.wpbeginner.com/wp-tutorials/disable-directory-browsing-wordpress/
Of course this is a client site with WordFence installed. Since it is a client site, I want to make sure I don’t break the site or impede WordFence operating efficiently and remember something happening with the index file when I was first installing WordFence.
]]>i have my linux ami with /var/www/html mounted on efs and /var/www/html/wp-content mounted on S3 bucket,
it is mounted like this: mybucket/wp-content/ to /var/www/html/wp-content so when an admin install a plugin from the admin panel the static file go directly on the s3 bucket, or if someone want add sometings can direct from the s3 bucket
then i created a cloudfront distribution for that s3 bucket and i added a record dns whit static.mydomain.com to point to the cloudfront url, and finally added the following line to wp-settings.php
define(‘WP_CONTENT_URL’, ‘https://static.mydomain/wp-content’)
everything is working fine!
i want to do the same thing for wp-includes folder and im wondering how to define and change the wp-includes url on the php file
Thanks in advance
]]>Thomas
]]>