main.CRITICAL: Invalid method MagentoFrameworkUrl::__parseUrl {“exception”:”[object] (Magento\Framework\Exception\LocalizedException(code: 0): Invalid method Magento\Framework\Url::__parseUrl at /home/user/public_html/vendor/magento/framework/DataObject.php:399)”} []
last night I was setting up a cart price and then testing out the rule at checkout before I discovered the the following error. Maybe it was already there and we did not realised.
I get the following error: ” internal error. details are available in the Magento log file. report id: webapi-60f242605fbe9″
After checking the exception log, I see this:
[2021-05-17 07:56:03] main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [identification_value] in order to load field data by uninverting the inverted index. Note that this can use significant memory.”}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”magento2_product_1_v917″,”node”:”UvHB7On_QwWWxrU4r1zVGg”, _________
We then increase the ram, thinking that it was an elastic search issue. The error disappeared but the server spikes and slow loading continued.
The next issue was now another error. We are using the shipperHq module for shipping which requires you to allow a backup shipping method in case shipperhq fails. So we activate the webkul MP fixed rate shipping module and we started getting the error below and no shipping method will be available at checkout. The error disappears if the Webkul module is disabled.
Original Message: [2021-07-17 09:55:20] main.CRITICAL: Report ID: webapi-60f2a908652d1; Message: Notice: Undefined offset: 404 in /home/user/public_html/app/code/Webkul/MpFixedRateshipping/Model/Carrier.php on line 297 {“exception”:”[object] (Exception(code: 0): Report ID: webapi-60f2a908652d1; Message: Notice: Undefined offset: 404 in /home/user/public_html/app/code/Webkul/MpFixedRateshipping/Model/Carrier.php on line 297 at /home/user/public_html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, Exception(code: 0): Notice: Undefined offset: 404 in /home/user/public_html/app/code/Webkul/MpFixedRateshipping/Model/Carrier.php on line 297 at /home/user/public_html/vendor/magento/framework/App/ErrorHandler.php:61)”} []
After doing a hard reboot, the ram and cpu consumption dropped back to normal. I checked the elasticsearch and it was not active ( i had to activated it).
I cannot tell what the issue is or if its still there.
Magento 2.4.2.
Any help will be welcome.
submitted by /u/figonju
[link] [comments]