Make WordPress Core

#56710 closed defect (bug) (invalid)

Fotos do not render at all on the webpage due to a file error created by wp_optimize

Reported by: heyitsmay20's profile heyitsmay20 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:


Good afternoon,
My hosting and I found a quite important bug caused by the wp-optimize plugin, this results in the media on the webpage not to render at all. This error is caused by a form of a route error. Each time that the image is converted to .webp format to improve the performance, wordpress can not find the route referenced by the plugin

PHP Warning: file_exists(): open_basedir restriction in effect. File(.webp) is not within the allowed path(s): (/usr/home/ in /usr/home/ on line 211

Line 211 from the folder class-wpo-webp-alter-html.php makes reference to the variable which defines the route, and this appears to be incorrect:


We would like some help in fixing this error, we can also provide a copy of the file in question

Change History (1)

#1 @davidbaumwald
14 months ago

  • Focuses ui accessibility performance removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from major to normal
  • Status changed from new to closed

Hi @heyitsmay20 and welcome to WordPress Core Trac! This system is used to track bugs in WordPress Core, not plugins.

Try asking for help in the WP Optimize support forum.

Note: See TracTickets for help on using tickets.