Bug 41906

Summary: Variable "@messages"/"$op" is not available... warnings in basket.pl
Product: Koha Reporter: Roman Dolny <roman.dolny>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Roman Dolny 2026-02-21 18:42:37 UTC
The warnings

[WARN] Variable "@messages" is not available at 
   /kohadevbox/koha/acqui/basket.pl line 698.
[WARN] Variable "$op" is not available at 
   /kohadevbox/koha/acqui/basket.pl line 704.

appears in plack-intranet-error.log

To reproduce:
1. Have a fresh KTD.
2. Observe plack-intranet-error.log
3. Go to Acquisitions, create vendor.
4. Create basket. After saving warnings appear in
   plack-intranet-error.log