- Issue created by @vitch
- 🇫🇷France sgostanyan
Could you please tell where you find that setLayerMethod has been removed ? It seems to still exists, maybe I have missed something.
Thanks
- 🇱🇧Lebanon vitch
Hello its my mistake composer automatically installed version 1.2.2 when i thought it would install the latest. it did not exist in that version which i mistakenly assumed was the latest.
- 🇱🇧Lebanon vitch
function_exists does not work for methods I just updated the plugin to v2.2.0 and tested this variant which worked fine:
if (method_exists($pdf, 'setLayerMethod') && is_callable([$pdf, 'setLayerMethod'])) { $pdf->setLayerMethod(NULL); }
- Status changed to Closed: works as designed
over 1 year ago 9:27am 20 August 2023 - 🇫🇷France sgostanyan
The module requires at least spatie/pdf-to-image v1.4.0 for 5.x and v2.1.0 for 6.x. So no needs to update.
Thanks :)