Undefined line items fields - Fresh install 8.5.0

Hello I recently installed fresh copy of SuiteCRM 8.5.0 for testing purpose before migrating from 7.xx. There is some bugs but lets start one by one.
When I try to create new Quote everything looks fine except line items. All the fields labels are undefined, and there is button “add group” that don’t exist on version 7.xx , basically whole line item block looks different. I did try to change file permissions but I don’t see any difference. Do I need to chmod specific folder/file, or it is something else?

You could update from v7.14 to 8.5. Did you update from 7.14 to 8.5?

Also, you could check combability matrix

Check you log files for errors.

PHP 8.2.13
MariaDB 10.5.23-1.el7.centos
httpd 2.4.6-99.el7.centos.1

And nothing in logs

Hi, I just did migration from 7.14 to 8.5. Everything is working except that I am getting undefined fields and buttons when I enter edit quotes. Undefined fields and buttons are only in Line items section.

My log files shows this Warning:
AH01071: Got error ‘PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Session.php on line 131; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Session.php on line 141’, referer: https://crm.domen.com/public/

and this errors:
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0

Any ideas?

Check if you have same code like below in that file.

CODE LINK

Also, you may need to delete some folders from cache folder and do QR&R.

Cache Directory

p.s. you could delete symfony cache folder in v8

Clear Symfony Cache

Thank you for suggestions, unfortunately I still have same problem. It is so strange that only undefined fields are in Line items?!

Looks similar issue on v8.5.

Try this solution :melting_face:

p.s. it is not correct solution.

RewriteBase was set to /legacy/ and I changed to /public/legacy/ no change. And I just realize there is also undefined text on mailing buttons.

If you’re getting same issues on the below link means it is a bug in the v8.5 :upside_down_face:

To access the demo, please use the following details:

Username: will

Password: will

https://suite8demo.suiteondemand.com/

Try here!

I did check you demo instance but I don see any problem there, your line items are working fine.
But your view is different, you have tabs on top.

Then it could be happening because of your custom code. It is hard for me to help you further.

It is very possible what you say. We had developer who made custom module for us, it is most possible that this is the problem. I actually installed fresh 8.5 version, and everything was fine until I uploaded custom module. Not sure what to do next? I’ll try to debug. Thanks for the help.

There we go! Maybe code in those custom module still in older version of PHP. If you update all those code with PHP 8.1 or 8.2 version. I hope your error will go away. :crossed_fingers: :melting_face:

Yes, that is the only way :slight_smile:

I just realize this.
I have to instances of same CRM on two subdomain. One is Version 7.14.2 on PHP 8.2.15, and I don’t have any problems here, no undefined fields, everything fine. Then I made copy of this CRM to new subdomain and made migration to SuiteCRM 8.5.0 on PHP 8.2.15 and only then I started having this undefined fields. So the PHP is not the main problem here, it is something in CRM 8.5 files that is making this error. The main difference in quotes is that version 8.5 now have Line Item group.