Skip to content

Installing Magento via docker getting with Elasticsearch

I am trying to run Magneto 2.4.3(php 7.4). Here is my docker-compose.yml file. services: web: image: webdevops/php-apache-dev:7.4 container_name: magento2-web volumes: – .:/public_html ports: – “127.0.0.1:8989:80” user: www-data:www-data environment: – WEB_DOCUMENT_ROOT=/public_html/pub – WEB_ALIAS_DOMAIN=local.magento2.com:8989 – WEB_NO_CACHE_PATTERN=\.\w+$ – CONTAINER_UID=33 #see https://github.com/webdevops/Dockerfile/issues/226 restart: always… Read More »Installing Magento via docker getting with Elasticsearch

misunderstand save action magefan blog

I have question on how do you guys save post_category relationship, when i debug save action, i just saw Post to be saved , how magic underneath the hood https://github.com/magefan/module-blog

main.INFO: Price/Special Price/Final price – (continuously writing thousand of lines)

Why do we see suddenly see the following info in our Magento 2.4.7 system.log (continuously – thousand of lines) [2024-07-04T11:17:09.075810+00:00] main.INFO: Price: 199 [] [] [2024-07-04T11:17:09.075884+00:00] main.INFO: Special Price: [] [] [2024-07-04T11:17:09.075927+00:00] main.INFO: Final Price: 60 [] [] [2024-07-04T11:17:09.076686+00:00] main.INFO:… Read More »main.INFO: Price/Special Price/Final price – (continuously writing thousand of lines)

GuestPaymentInformationManagementPlugin must be of type MagentoQuoteApiDataPaymentInterface when placing order

Magento 2.4.6-p3 I am getting this error when placing an order in my Magento 2 checkout: TypeError: MagentoPersistentModelCheckoutGuestPaymentInformationManagementPlugin::beforeSavePaymentInformation(): Argument #4 ($paymentMethod) must be of type MagentoQuoteApiDataPaymentInterface, MagentoQuoteModelQuoteAddressInterceptor given I recompiled, deployed and cleared the cache, issue remains. Also tried using… Read More »GuestPaymentInformationManagementPlugin must be of type MagentoQuoteApiDataPaymentInterface when placing order

Graphql return null values

Schema.graphqls type Query { getGoogleMedia: [GoogleMedia] @resolver(class: “Test\LocationData\Model\Resolver\GoogleMediaResolver”) } type GoogleMedia { image_view_all_link: String images: GooglePhotos video_view_all_link: String videos: GoogleVideos } type GooglePhotos { id: Int review_id: String image: String } type GoogleVideos { id: Int review_id: String video_link: String… Read More »Graphql return null values

Magento 2.4.7 Minicart not showing

knockout.js:3753 Uncaught ReferenceError: cookieMessagesObservable is not defined at if (eval at createBindingsStringEvaluator (knockout.js:3221:28), <anonymous>:3:55) at ko.computed.disposeWhenNodeIsRemoved (knockout.js:4820:71) at Function.evaluateImmediate_CallReadThenEndDependencyDetection (knockout.js:2331:115) at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout.js:2288:41) at Function.evaluateImmediate (knockout.js:2253:40) at ko.computed.ko.dependentObservable (knockout.js:2085:40) at init (knockout.js:4819:32) at knockout.js:3730:58 at Object.ignore (knockout.js:1563:45) at knockout.js:3729:60