After upgrading the theme with Magento 2.4.3 theme patch i got this error:
Magento Version: 2.4.4
On product page:
Exception #0 (Exception): Deprecated Functionality: Optional parameter $data declared before required parameter $registry is implicitly treated as a required parameter in app/code/MGS/Protabs/Block/DetailsProtabs.php on line 11
All of the indexes are ready except "catalogsearch_fulltext" and that is due that Smile Elastic Module included in the theme and while indexing the "catalogsearch_fulltext" i got this error:
***************
Catalog Search index process error during indexation process: Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /app/code/Smile/ElasticsuiteCatalog/Helper/AbstractAttribute.php on line 201
***************
Please look into this and all those error on the website.
I've checked and realized you are using claue theme v1 and magento version 2.4.4. Unfortunately, claue v1 don't have patch for 2.4.4 yet. Please downgrade magento version to 2.4.3-p1 for best working.
I applied the patch you sent me after that run the setup:upgrade successfully and then reindex all of the indexes without any errors.
Now its this single error on every page weather its homepage or product page or any category page:
********************
Exception #0 (Exception): Deprecated Functionality: Optional parameter $perrow declared before required parameter $nb_item is implicitly treated as a required parameter in /app/code/MGS/Mpanel/Helper/Data.php on line 997
Indexes are ready and setup:upgrade as well but there are still errors.
ArgumentCountError: Too few arguments to function MGS\Mpanel\Helper\Data::getStoreConfig(), 1 passed in /home/printart/public_html/printartm2/app/code/MGS/Blog/Helper/Data.php on line 10 and exactly 2 expected in app/code/MGS/Mpanel/Helper/Data.php:184
The site is working now and there is no fatal error on any page. Thanks for that. But, category pages missing the pagination. There is no pagination or infinite scroll loaded on any category.
I've checked and saw Ajax Scroll turn on. But it cannot load because there are 2 issue get site JS function cannot run. I think when you fixed all of this. Ajax Scroll will run normal.
Yes i checked that error and that is due to usage of some deprecated event listeners used in the Theme. I traced this and found that somewhere in the theme these event listeners are used.
Thanks a lot Hyun. That was really great. There is just one more thing i can't see on product listing is Toolbar that contains listing view and sorting dropdown and a loader while infinite scrolling.
Yes one of the dropdown was hidden but that was not the problem, I'm checking the changes by removing any custom styles applied, so it should have shown before.
And what thing causing this product per page error ? It should work with the ajax scroll.
Here, this function not work with ajax scroll. When ajax load infinity and product will show each ajax load done. Select product per page now does'nt mean anything. Maybe my explain not good but hope you undertand.
Okay got it, but I was thinking that this should set number of products to be loaded while ajax scrolling. Anyways thanks for the help. That's all I need for now. I will be in touch if any other problem shows up.
I've check compile in system and found Smile module got error, I've fixed it but there is different error in third party module. Please check and fix it. Then try run upgrade and deploy.
I've check product_shape attr and product_color attr and re-config they as the same. Help me run reindex to test it. If color attr showd, that's good. If not, we need to check more.
After upgrading the theme with Magento 2.4.3 theme patch i got this error:
Magento Version: 2.4.4
On product page:
Hi jordo9477,
Can you send me site info and SSH account to check this issue? Thanks
Hyun
Hi jordo9477,
Here is my IP: 118.70.184.26
Please add whitelist. Thanks
Hyun
Hello,
IP address 118.70.184.26 has been added to the list of trusted hosts.
Please check now.
Thanks.
Hi jordo9477,
I'm try to run some command but get stuck. Did you face this issue before?
Hi Hyun,
No the setup:upgrade command was successfully executed before. Its stuck on indexing so i should re-index first then let you know.
Is there anything other than this ?
Thanks
Hi jordo9477,
No, I just want to run command for sure all content and code get lastest update. Then check your issue and how to fix it.
Regards,
Hyun
Hi Hyun,
All of the indexes are ready except "catalogsearch_fulltext" and that is due that Smile Elastic Module included in the theme and while indexing the "catalogsearch_fulltext" i got this error:
***************
Catalog Search index process error during indexation process:
Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /app/code/Smile/ElasticsuiteCatalog/Helper/AbstractAttribute.php on line 201
***************
Please look into this and all those error on the website.
Thank you.
Hi jordo9477,
I've checked and realized you are using claue theme v1 and magento version 2.4.4. Unfortunately, claue v1 don't have patch for 2.4.4 yet. Please downgrade magento version to 2.4.3-p1 for best working.
Regards,
Hyun
So we can't fix these issues without downgrading the whole website? That's a lot of work to do again.
Hi jordo9477,
Good new. Our dev was sent me a patch for claue v1. Please backup your old code first then try this: https://drive.google.com/file/d/1a94BPgTWKtZjdyCTjcA2GAAX5YPhIaua/view?usp=sharing
I hope it work well in your site.
Regards,
Hyun
Hi Hyun,
Thanks a lot.
So should i just merge this patch with the current theme? Is there any extra steps involved?
Thank You.
Hi jordo9477,
No, just merge this patch in current theme. Remember to backup code first before merge.
Regards,
Hyun
Hi Hyun,
I applied the patch you sent me after that run the setup:upgrade successfully and then reindex all of the indexes without any errors.
Now its this single error on every page weather its homepage or product page or any category page:
********************
********************
Thanks.
Hi jordo9477,
I've fixed these issue and run upgrade again but stuck at reindex. Please help me run this command. Thanks!
php bin/magento maintenance:enable;php bin/magento s:up;php bin/magento setup:static-content:deploy -f;php bin/magento indexer:reindex;php bin/magento c:f;php bin/magento maintenance:disable;
Hi Hyun,
Thank you for this.
Please wait for sometime.. Category Product index may take 50-60 min to complete.
Or should i run this from my end?
Thanks.
Hi jordo9477,
Yes, please. That the same.
Regards,
Hyun
Hi Hyun,
Indexes are ready and setup:upgrade as well but there are still errors.
Please check.
Thanks.
Hi jordo9477,
This is new issue and I've fixed it too. Site working now.
Regards,
Hyun
Hi Hyun,
Yes the homepage is working but there are still errors on category and product pages. And mini cart have some issues too.
Thanks.
Hi jordo9477,
I've fixed some issue conflict with php8. Also, please check again your minicart. I think this issue in your child theme make minicart get error.
Hi Hyun,
The site is working now and there is no fatal error on any page. Thanks for that. But, category pages missing the pagination. There is no pagination or infinite scroll loaded on any category.
Thanks.
Hi jordo9477,
I've checked and saw Ajax Scroll turn on. But it cannot load because there are 2 issue get site JS function cannot run. I think when you fixed all of this. Ajax Scroll will run normal.
Hi Hyun,
Yes i checked that error and that is due to usage of some deprecated event listeners used in the Theme. I traced this and found that somewhere in the theme these event listeners are used.
Thanks.
Hi jordo9477,
I've checked and fixed this issue. Now minicart work normal. Please review it.
Regards,
Hyun
Hi Hyun,
Thanks for that. But the infinity scroll still not working. Can you please look into this.
Thanks.
Hi jordo9477,
Because the new magento version so code have a little different. I've fixed it. Please review again.
Regards,
Hyun
Thanks a lot Hyun. That was really great. There is just one more thing i can't see on product listing is Toolbar that contains listing view and sorting dropdown and a loader while infinite scrolling.
Thanks.
Hi jordo9477,
Can you send me some attachment about this problem? Thanks
Regards,
Hyun
Hi Hyun,
Please check the attachment. And loader is working now.
Thanks.
Attached files: toolbar.jpg
Hi jordo9477,
I've checked and saw your custom style hide toolbar. Also, when you turn on ajax scroll, the select product per page will cause ajax scroll error.
Hi Hyun,
Yes one of the dropdown was hidden but that was not the problem, I'm checking the changes by removing any custom styles applied, so it should have shown before.
And what thing causing this product per page error ? It should work with the ajax scroll.
Thanks.
Hi jordo9477,
Here, this function not work with ajax scroll. When ajax load infinity and product will show each ajax load done. Select product per page now does'nt mean anything. Maybe my explain not good but hope you undertand.
Hi Hyun,
Okay got it, but I was thinking that this should set number of products to be loaded while ajax scrolling. Anyways thanks for the help. That's all I need for now. I will be in touch if any other problem shows up.
Thanks.
Hi jordo9477,
Let me know if you have a problem.
Regards,
Hyun
Hi jordo9744,
I've check compile in system and found Smile module got error, I've fixed it but there is different error in third party module. Please check and fix it. Then try run upgrade and deploy.
Hi Hyun,
I have fixed that 3rd party module error and successfully complied the code. Please check now and let me know if anything is to be done on my end.
Thanks.
Attached files: complie-successful.jpg
Hi jordo9477,
I've check product_shape attr and product_color attr and re-config they as the same. Help me run reindex to test it. If color attr showd, that's good. If not, we need to check more.
Regards,
Hyun
Hi Hyun,
I reindexed the site again and still the product_color and artist attribute missing.
Thanks
Hi Hyun,
Are you going to look into this ? its really urgent.