This repository has been archived by the owner on May 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
DI compile giving error in Weprovide pdf module #6
Comments
ram10rajtechM
changed the title
DI compile creating issue in this module
DI compile giving error in Weprovide pdf
May 15, 2018
ram10rajtechM
changed the title
DI compile giving error in Weprovide pdf
DI compile giving error in Weprovide pdf module
May 15, 2018
This occurs when not using Magento 2.2 after this commit: a4b0e92 You can fix it by going to Line 89 in Dompdf.php and changing it to:
|
@performadigital I changed line 89 as you mentioned in your last reply, but I got this error while running di:compile [RuntimeException] |
@msliman It sounds like you haven't run the composer install which requires the Dompdf library. Using composer run:
Then run the upgrade and compile commands. |
@performadigital Thanks for a solution it works. |
Is there any patch available for this fix. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Team,
I've integrated the module working fine.
While running the di:compile i'm getting some error.
Please check and let me know.
Error:
14% 1 sec 52.0 MiBPHP Fatal error: Declaration of WeProvide\Dompdf\Controller\Result\Dompdf::render(WeProvide\Dompdf\Controller\Result\HttpResponseInterface $response) must be compatible with Magento\Framework\Controller\AbstractResult::render(Magento\Framework\App\ResponseInterface $response) in /var/www/html/tempm/vendor/weprovide/magento2-module-dompdf/Controller/Result/Dompdf.php on line 116
Fatal error: Declaration of WeProvide\Dompdf\Controller\Result\Dompdf::render(WeProvide\Dompdf\Controller\Result\HttpResponseInterface $response) must be compatible with Magento\Framework\Controller\AbstractResult::render(Magento\Framework\App\ResponseInterface $response) in /var/www/html/tempm/vendor/weprovide/magento2-module-dompdf/Controller/Result/Dompdf.php on line 116
The text was updated successfully, but these errors were encountered: