I am also facing the same issue even after upgrading to 7.97. Whenever I clear the cache views stop giving results.
I have to always run update.php and every this back to normal. I am not sure why or what is the problem.
Fix is committed in which version? i guess it is Dev. Please confirm
after unpacking the Drupal 7.97 file in the public_html folder, my service provider changed the version of PHP from 7.4 to 8.1 directly.
so the error I was facing was actually because of a change in the version of PHP and not Drupal.
I was able to solve the issue. The error was commerce module was taking field_subject_area as a product field instead of an entity reference field which it actually was.
after deleting the field I was able to upgrade the commerce module without any errors.
I am getting the following error after enabling the devel module and ddebug_backtrace function.
thrown in /public_html/sites/all/modules/devel/devel.module on line 698
after browsing through the website I came to know that the devel and metatag modules are not PHP 8.1 compliant.
PHP 8.0 compatibility for Metatag (D7) 📌 PHP 8.0 compatibility for Metatag (D7) Postponed
#3208027: PHP 8.0 compatibility for Devel (D7) →
once devel module is made 8.0 compliant i will be able to move forward and check for other modules.
after applying the patch I am getting the following error
Error: Call to undefined function commerce_product_reference_get_default_product() in commerce_cart_field_formatter_view() (line 2763 of /website/sites/all/modules/commerce/modules/cart/commerce_cart.module).
kindly help.
Thanks in advance
Neeraj420 → created an issue.
Thank you @DamienMcKenna.
i believe only following submodule has dependency on devel
Metatag: Devel (metatag_devel)
Apart from above mentioned sub-modules other modules are made php8 compatible?
Neeraj420 → created an issue.
Hi There,
now that php 7.4 is also end of life and Patch to support php 8.0 version in Devel project is having status Need Review.
#3208027: PHP 8.0 compatibility for Devel (D7) →
Can development of making meta php 8.0 be started?
Thanks in advance.
tried doing devel module itself is not working. :(
Any other idea how to trobleshoot?
But I am not changing the php version it is only the drupal version upgrade.
Is there a change in this particular function of drupal.
PS : I will use the modules suggested by you to check which module/function is calling this.