-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [BUG] - Blank page when webp is enabled in is_themecore with a website on netsons - DOMDocument::loadHTML(): Memory allocation failed in Entity, line: 8 in is_themecore/src/Core/Webp/WebpPictureGenerator.php on line 19 #359
Comments
I copied the site to the other server, I redid the operations to remove the old theme and add the new one, and now the blank page doesn't appear. Maybe it was due to another error. I'll continue and then I'll let you know, before I was very depressed |
Hi |
Hi |
Hi @maofree, I am not sure yet how I am going to rewrite webp/avif functionality for is_themecore 5 but for now you can try to suppress errors here https://github.com/Oksydan/is_themecore/blob/main/src/Core/Webp/WebpPictureGenerator.php#L19 via |
Hi libxml_use_internal_errors(true); https://www.php.net/manual/en/function.libxml-use-internal-errors.php |
Hi @maofree, you can give it a try. I am not able to reproduce the problem. It might be related to server configuration 🤔 or it's limitation. I am not familiar with lightspeed. |
Hi there, In modules/is_themecore/src/Hook/HtmlOutput.php change |
Hi @tomasz3k thanks |
Hi @tomasz3k, |
Hi ` public function loadContent()
however I continue to use $params['html'] = &$content; bye |
Description
Hi
after many tests I think there is a problem with shared plans (with dedicated server and vps is ok)
PHP Warning: DOMDocument::loadHTML(): Memory allocation failed in Entity, line: 8 in /home/kvgzrseu/public_html/NUOVO/modules/is_themecore/src/Core/Webp/WebpPictureGenerator.php on line 19
I get this error from the error_log file in the webroot, because any other errors are shown in the front-office
the problem gives a blank page in the front-office
it happens after to set Webp to on, in the module is_themecore
the website is on netsons, ssd100 solution
it has litespeed but it is not due from it, because the same site on the dedicated server works well, however the dedicated server is on another hosting
perhaps this plan does not have enough resources in the image conversion phase.
now I'm having all the missing webp images regenerated by prestashop in the copy on the dedicated server, since with litespeed it is not possible to do this from the is_themecore module, due to compatibility problems in the htaccess file
bye
Node.js version
v16
php version
8.1
OS and it's version
linux
Browsers
Chrome
Required module/theme
is_themecore
Reproduction steps
Logs
No response
The text was updated successfully, but these errors were encountered: