You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying your (great!) plugin for a new website. And at first the debugger throw me an error because it's looked like I can't replace this line: <?= css('/assets/css/print.css', 'print') ?>
Argument 3 passed to Bnomei\Fingerprint::helper() must be of the type array, string given, called in /Users/yoan/Projets/zardust/site/plugins/kirby3-fingerprint/classes/Fingerprint.php on line 218
By looking the error and the plugin code, I understand that the attributes need to be passed through an array. I think a common example with media="print" should be useful on the documentation 👍
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying your (great!) plugin for a new website. And at first the debugger throw me an error because it's looked like I can't replace this line:
<?= css('/assets/css/print.css', 'print') ?>
By:
<?= Bnomei\Fingerprint::css('/assets/css/print.css', 'print') ?>
By looking the error and the plugin code, I understand that the attributes need to be passed through an array. I think a common example with
media="print"
should be useful on the documentation 👍Thanks!
The text was updated successfully, but these errors were encountered: