Menu

Address label Errors

Help
GaryT
2022-01-14
2022-01-14
  • GaryT

    GaryT - 2022-01-14

    I've been hunting down deprecation errors, and learning functions at the same time.
    I got a whole lot of errors when I selected reports/address labels/pdf.
    At first I thought I had an issue with the updated tcpdf library, but then I thought I would try it with my official server that's running a slightly older svn version, and older php as well, and I got the same errors.
    ERROR 2: Undefined array key "showid"
    0 Error occurred on line 1 of file class_reportbase.php(2865) : eval()'d code in function eval
    ...dump
    Warning: Undefined array key "pageHeight" in V:\phpGedView\includes\classes\class_reportbase.php(2865) : eval()'d code on line 1
    ...dump...
    ...lots more...
    Should this work? Or am I missing some setup?

     
  • Gerry Kroll

    Gerry Kroll - 2022-01-14

    Bug in addresslabels.xml . Fix will be included in the next iteration of bug fixes (Take 5).

    • definition of variable $showid was commented out, but the check for that variable being set was left in place. Oops. (Not my code).
    • "$pageHeight" should have been "$height". Oops. Again, not my code.
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.