-
Notifications
You must be signed in to change notification settings - Fork 89
Magento 2.4.4 and php 8.1 #407
Comments
I only get this error when running "php bin/magento vsbridge:reindex --all". My workaround is to just run each index instead. php bin/magento indexer:reindex vsbridge_taxrule_indexer && php bin/magento indexer:reindex vsbridge_attribute_indexer && php bin/magento indexer:reindex && vsbridge_product_indexer && php bin/magento indexer:reindex vsbridge_category_indexer && php bin/magento indexer:reindex vsbridge_cms_block_indexer && php bin/magento indexer:reindex vsbridge_cms_page_indexer && php bin/magento indexer:reindex vsbridge_review_indexer |
For anyone else visiting this, turns out the above was just the conversion of the time it takes to run each index. I just deleted ". gmdate('H:i:s', $resultTime)" from that line and the index stopped complaining. |
I am also getting this error:
|
@bloodf as you made the last commit... is this still maintained? |
@simonmaass This is not maintained from what I can see, we are on our own with this. To answer your question above, just add a return 0; to the end of the RebuildEsIndexCommand.php I am no php developer but I guess under the new php 8 rules the excute fucntion needs to return a value so setting return 0; makes the error go away. `protected function execute(InputInterface $input, OutputInterface $output)
|
Created a patch file...
|
Deprecated Functionality: Implicit conversion from float 2.0145020484924316 to int loses precision in /vendor/divante/magento2-vsbridge-indexer/src/module-vsbridge-indexer-core/Console/Command/Rebuild/Rebuild.php on line 143
The text was updated successfully, but these errors were encountered: