-
Notifications
You must be signed in to change notification settings - Fork 14
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
Print to PDF not working #27
Comments
Update: print working from "Print to PDF" from left menu on open ticket, but not from Actions menu! |
There is no container index in the common.class. From Actions menu, no problem for me, i can print in PDF several computers. |
Hi Yllen, thanks for your feedback. As I have said, Print to PDF works from menu on the left in the ticket, but not from action button. Here is log entry you've requested: [2022-11-02 10:45:58] glpiphplog.NOTICE: *** PHP Notice (8): Undefined index: container in /home/getimin5/public_html/glpi/plugins/pdf/inc/common.class.php at line 517 Thank you! Goran |
I made several tests and container is always defined For ticket => all OK For computer => all OK which parameters have you checked for ticketd in your pdf printing preferences(in my setting)? |
Massive actions are defined in your settings not in the item. |
I'm sorry, I'm noob here... please let me know what exactly. |
I have selected Items there, too. Still the same: Uncaught Exception TypeError: Argument 1 passed to Toolbox::stripTags() must be of the type string, null given, called in /home/getimin5/public_html/glpi/plugins/pdf/inc/item_ticket.class.php on line 122 in /home/getimin5/public_html/glpi/src/Toolbox.php at line 3109 |
Would you like me to send you Superadmin acconut? |
This error was already corrected. |
Great! How do I apply it? Thanks! Goran |
You apply the correction 021a46a |
I have applied the correction, I can confirm that printing now works if Items are selected. Printing from Action button still does not work, fails with the same error as in initial post. PHP Notice (8): Undefined index: container in /home/getimin5/public_html/glpi/plugins/pdf/inc/common.class.php at line 517 Please advise. |
OK, so corrected for items. I think one of the field is missing and i must to protect it, like for ticket's item |
No news. I close |
Still not working though
Pozdrav,
Goran
Goran Kukovačec, dipl. ing. el. | +385 91 10 11 696<tel:+385%2091%2010%2011%20696> | Getim d.o.o. |www.getim.hr<http://www.getim.hr/>
On 07.11.2023., at 16:37, yllen ***@***.***> wrote:
No news. I close
—
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABW6F7QMBCOYZDDPHRX4IPDYDJITFAVCNFSM6AAAAAARR4SPZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYHEYDSMZVHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can you reply to my questions? |
Hi, I seem to have almost the same problem : I can perform a ticket PDF export in the left menu, but not in the "action menu". When I choose "Impression PDF" from the action menu : And when I hit "Envoyer" (send), i've got a 404 error : Log in php-errors.log : [2023-12-11 14:14:45] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "container" in /var/web/glpi/marketplace/pdf/inc/common.class.php at line 522 In my preferences, only the item "Ticket" is ticked : I'm running GLPI 10.0.10 and PDF plugin 3.0.0 I'm available if you need more information, |
Hello. PS: This was tested opening a ticket, and the plugin only has the "Ticket" option selected |
Hi,
I get this error when debug mode is turned on:
PHP Notice (8): Undefined index: container in /home/XXXXXXXXXX/public_html/glpi/plugins/pdf/inc/common.class.php at line 517
And then if fails with "Error - Failed operation" popup.
Same on assets, tickets...
GLPI version is 10.0.3
Plugin version is 2.1.0
Please help!
Thanks,
Goran
The text was updated successfully, but these errors were encountered: