Comments (15)
Update: print working from "Print to PDF" from left menu on open ticket, but not from Actions menu!
from pdf.
There is no container index in the common.class.
Can you give me the complete error in file/_logs/php-error.log?
From Actions menu, no problem for me, i can print in PDF several computers.
Have you an error?
from pdf.
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
Backtrace :
src/MassiveAction.php:904 PluginPdfCommon::showMassiveActionsSubForm()
ajax/dropdownMassiveAction.php:53 MassiveAction->showSubForm()
Thank you!
Goran
from pdf.
I made several tests and container is always defined
For ticket => all OK
MassiveAction Object ( [POST] => Array ( [action] => DoIt [container] => massformTicket
For computer => all OK
MassiveAction Object ( [POST] => Array ( [action] => DoIt [container] => massformComputer
I can't correct an issue if i can't reproduce it.
which parameters have you checked for ticketd in your pdf printing preferences(in my setting)?
from pdf.
Hi,
I have chosen Tickets and Items.
If required, I can provide access, just let me know how to PM credentials to you.
Thanks for your time!
Goran
from pdf.
Massive actions are defined in your settings not in the item.
So, post your settings for ticket item
from pdf.
I'm sorry, I'm noob here... please let me know what exactly.
Thanks,
Goran
from pdf.
from pdf.
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 3109from pdf.
Would you like me to send you Superadmin acconut?
from pdf.
This error was already corrected.
Duplicate #26
from pdf.
Great!
How do I apply it?
Thanks!
Goran
from pdf.
You apply the correction 021a46a
from pdf.
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.
Thanks,
Goran
from pdf.
OK, so corrected for items.
Which fields of which item do you want to print?
Can you give me the error in glpi (php-ellor.log)?
I think one of the field is missing and i must to protect it, like for ticket's item
from pdf.
Related Issues (20)
- insert in the PDF export, a text field HOT 1
- blank page
- Print error with items HOT 1
- Change GLPI logo HOT 4
- Add fields to pdf
- Customize Content pdf export GLPI 10.0.0 HOT 2
- display main item before processing
- PHP-errors on export HOT 3
- Visualization error in tasks with tables HOT 3
- PDF Plugin and Plugin FIELDS HOT 1
- Problem with special characters in generated PDFs HOT 4
- fix for display pictures HOT 8
- Error Call undefined method TCPDF::SetAllowLocalFiles() HOT 12
- Plugin not working HOT 2
- TCPDF ERROR HOT 9
- Rights management - cannot add profiles HOT 1
- The images inserted in the ticket HOT 3
- PDF 3.0.0 : Unable to print when selecting a network port HOT 3
- Object not found - 404 error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf.