Questions tagged [php-7]

Use this tag when you have problems very specific to PHP7 because of for example BC breaks

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Dark Overlay over my PDP (Product Description Page) Magento2

I am using Magento 2.3.2 for my Ecommerce and whenever i open a PDP in my magento 2.3.2, i get overlay on the screen, Please check attachment Image. I have tried with CSS to remove this or to disable ...
0
votes
2answers
50 views

Error browsing simple products 2.3.1

I can't open simple products.. keep getting error as below, tried disabling Temando_shipping.. no joy.. any ideas to resolve? 1 exception(s): Exception #0 (ReflectionException): Class Temando\...
0
votes
0answers
15 views

Magento2 : Image not loading

I have added an image uploader in the customer account edit section in frontend. And also added the image view link. After uploading the image, I'm clicking the image view URL, its working fine in ...
1
vote
0answers
43 views

Help - Magento 1.9 - How to do Observer should be trigger before place an order?

After calculated grand total in checkout page observer not trigger, Observer : app\etc\modules\Gta_RestrictProductByCountry.xml <?xml version="1.0"?> <config> <modules> ...
0
votes
0answers
5 views

Magento2: Get configurable product option label using API

I want to get the configurable product with an option label. So I have to use the CORE API. {{base_url}}/index.php/rest/V1/products?searchCriteria[filterGroups][0][filters][0][field]=entity_id&' ...
0
votes
3answers
26 views

Magento2: Re- trigger total in checkout page

I have init js and corresponding template in checkout_index_index. In that template, I have added on checkout after the payment methods. If I checked the checkbox, I have add a custom fee. In page-...
1
vote
0answers
30 views

magento 2.3.1 inventory:reservation missing commands

I have inventory_reservation inconsistencies that I need to clean up on M2 2.3.1 so following this wiki guide https://github.com/magento/inventory/wiki/CLI-Reference but when running it I get error '...
0
votes
1answer
29 views

Magento2 : Set Limitation for Logged in customer address on checkout page?

I want to set the limitation for count of address list on the checkout page. can we restrict it or not, if yes then How to do that. Thanks in advance.
0
votes
0answers
22 views

Magento 2.3.1 Frontend stock not correct after sql update

I'm updating stock via SQL update along the lines of below website https://www.danjoseph.me/2017/01/12/magento-2-database-level-inventory-management/ The price and qty is updated and visible in ...
0
votes
1answer
20 views

Ajax form submit validation not working in magento2?

I'm trying to submit the form on ajax call. Before submit the form, I'm trying to validate it. $('#customerqa-form').on("click", "#customerqa-submit", function (event) { event....
0
votes
0answers
9 views

How to set parent order value into edit order in magento2?

I have set the custom value in quote and order table using "sales_model_service_quote_submit_before" event. In edit order, I want to set the custom field value from parent order. How to do that ...
0
votes
1answer
51 views

Restore quote in magento2

I have canceled the current order like use Magento\Sales\Model\OrderFactory; $order = $this->orderFactory->create()->loadByIncrementId($order->getIncrementId()); $order->cancel()->...
3
votes
1answer
69 views

PHP 7.X vulnerability and Magento 1.7

As many of you know there are multiple vulnerabilities that pertain to PHP 7.1, 7.2, and 7.3. I currently run PHP 5.6 with Magento 1.7. I am pretty confident that 1.7 does NOT support any of the ...
1
vote
1answer
40 views

Error when mass updating Attributes

Trying to mass update some attributes of products but when I try to open the update attributes form I get an error.. any ideas of the cause? 1 exception(s): Exception #0 (Exception): Notice: ...
0
votes
3answers
76 views

Magento 2: Error 500 with correct Password in Magmi.ini

My issue is very closely related to Magmi for magento2 and this question here Fatal Error with Magmi for Magento2. I've noticed when I enter my database credentials correctly in the magmi_engine.php ...
0
votes
1answer
21 views

UPS - Malformed XML on shipping rates request

inside the shipping.log file i can see this error: The XML document is not well formed After some digging I see that my Auth information are not well encoded. It works perfectly when I write them ...
0
votes
0answers
15 views

Magento 2 URL Rewrites Very Slow

Setup Dedicated Server Intel Xeon E3-1230 v2 2 Core 16 GB RAM Linux Centos PHP 7.1 APACHE 2.4 I have a site in Magento 2.2.6 which I am trying to do a full URL rewrite of category and products for 1 ...
0
votes
0answers
22 views

Magento 2 LocalHost, Admin Panel error js and disappeared Setup Wizard button

After several days of testing and testing, I ask for help. 3 Problems. The theme in local is no longer the one purchased (The default one appears) The Accordian does not work on the Admin panel The ...
0
votes
0answers
31 views

Magento2: Coupon code removing issue after merging quote

I have created a custom column 'discounted_total' in quote_address table for discount calculation. use Magento\Quote\Model\Quote\Address\Total\AbstractTotal; use Magento\SalesRule\Model\CouponFactory;...
0
votes
0answers
24 views

Attribute code error: null value - how to find which attribute code?

We ran into this exact error: Certain Magento Pages returning HTTP Error 500 after a payment was done with PayPal Express Checkout (PayPal redirects to our website after the transaction is completed, ...
0
votes
0answers
53 views

Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower() in magento 2

when i run cli commends I'm getting error Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower() in /home/project/public_html/vendor/magento/framework/...
0
votes
0answers
25 views

DateTime error on Get Transaction Details request with Authorize.net extension

I am using extension from Authorize.net for payment methods. Everything looks pretty good on testing with sandbox but I am getting errors once launching this extension on live. First everything ...
0
votes
1answer
65 views

Undefined property: DOMDocument::$documentElement in Magento 2

Notice: Undefined property: DOMDocument::$documentElement in /var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on line 148 Fatal error: Uncaught TypeError: Argument 1 passed ...
1
vote
1answer
31 views

Magento2: How to get the old qty of product?

How to get the available qty of the product before saving the product with new qty in magento2. How to do that. Thanks.
2
votes
1answer
245 views

Error installing Magento 2.3.2: An abstract factory could not create an instance of magentoframeworkencryptionencryptor

I am installing magento 2 via a docker image : quay.io/alexcheng1982/apache2-php7:7.2.12 I keep getting this message: An abstract factory could not create an instance of ...
1
vote
0answers
29 views

Get out of stock product collection in magento2

I want to get the wishlist collection for the customer. $this->wishlist->create()->loadByCustomerId($this->session->create()->getCustomerId(), true)->getItemCollection(); How to ...
2
votes
1answer
37 views

Magento2: Production Critical Error on Cloudinary

I am trying to run the setup:upgrade command I get the following error PHP Fatal error: Uncaught Error: Call to a member function getCloud() on null in /var/www/asprod/vendor/cloudinary/...
0
votes
0answers
11 views

Magento2: How to perfill the color in view page

I want to prefill selected color in product view page from category page. How to do that. Thanks.
0
votes
0answers
27 views

I am getting this error when I click on edit customer in the admin back-end panel

I am getting this error when I click on edit customer in the admin back-end panel
1
vote
2answers
48 views

How to add text box in configurable product page in magento 2?

Just like shown in image above.Is this possible with magento dashboard functionality.
3
votes
0answers
33 views

Magento2: Shipment issue in admin order

I trying to create a shipment with track id for the order. but it displays 404 error in chrome browser after enable bundling option in production mode. How to solve the issue. Thanks. And the ...
0
votes
1answer
29 views

How to add alert box in admin form

I want to add the confirm box while click save button in magento2 admin form. How to do that. Thanks.
0
votes
0answers
13 views

Replace php function not working as it should

This has been asked many times but still having the issue In magento email templates, on fly am trying to change storename, storeemail and phone number. Everything is working fine but am having issue ...
0
votes
0answers
90 views

ALTER TABLE `customer_group` MODIFY COLUMN `customer_group_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT

PHP version : PHP 7.1.3 Magento Version Magento 2.1.16 I tried to upgrade the Magento from 2.1.16 To 2.3.1 and I face this issue. Query Executed during update: ALTER TABLE customer_group MODIFY ...
0
votes
1answer
33 views

Magento 2.1 adminhtml Action 'Edit' give 404 while Index works

Update: Here is what the Developer Toolbar gives me on the 404 page: Mode: Developer Controler Module: Magento_Backend Controler Class: Magento\Backend\Controller\Adminhtml\Noroute\Index ...
0
votes
2answers
41 views

Magento 2: php version issue

on my ubuntu 16 server i have installed php and it show version PHP 7.1.30-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 31 2019 11:43:14) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend ...
0
votes
0answers
81 views

Show Pincode/shipping availability checker in magento 2 header

I have implemented Pincode checker in Magento 2 product detail page by creating a custom module, but I need to show it in the header section and hide it from the product detail page. How can I achieve ...
2
votes
1answer
45 views

Magento filter Collection by Date attribute value [closed]

I would like to know. How can i filter collection by attributes specially When Catalog Input Type for Store Owner is DATE. Each product will have a future date when there stock will be set as out of ...
0
votes
2answers
47 views

Magento 1.8 Adyen Integration

I have an issue with the adyen-magento module. When the payment is successful in adyen, the order status doesn't updated in Magento, so the order is not getting processed. Even though when the payment ...
1
vote
1answer
18 views

How to get product random collection in magento2?

I want to get the random 10 products from whole product collection in magento2. $productCollection = $this ->productModel ->getProductCollection() ->...
0
votes
0answers
32 views

Magento Fatal Error on Running Installation

I am facing below Fatal Error on Magento Running installation, Fatal error: Uncaught Error: Class 'MagentoEavModelEntityAttributeSourceTable' not found in /var/www/magento/vendor/magento/framework/...
7
votes
3answers
437 views

Magento 2.3 - Topmenu tabs with wrong (cached) 'active' class

I have a small menu problem. The active tabs do not match the active class. If I disable the static_block cache it works again, so it actually looks like the menu is cached and continues to display ...
0
votes
0answers
66 views

Magento 2: Exception #0 (InvalidArgumentException): Invalid return type

Hi all! I recently wanted to migrate my store in magento 1 to magento 2, but once I finished the migration, there is a plugin that starts to fail. That plugin that is failing is "Transbank" with the ...
1
vote
2answers
158 views

Magento2 after installation error (Exception log)

I have installed Magento 2 and after first exception, I get an error as below. [2019-05-16 08:16:50] main.CRITICAL: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2....
1
vote
0answers
32 views

How to add pager limit in core file in magento2?

I want to add some condition for pager in order collection. In Magento\Sales\Block\Order\History.php; protected function _prepareLayout() { parent::_prepareLayout(); if ($this-&...
0
votes
1answer
443 views

Magento 1.9.4 using PHP 7.3.5

Can Magento 1.9.4 run using PHP 7.3.5? I have seen a number of Stack Exchange posts to the contrary and some supporting it. I have PHP 7.3.5 installed on the server but how (if possible) do I tell ...
0
votes
1answer
86 views

How to add custom button to product page to three different places (magento 2)?

Button position decide by store owner(using admin panel). There are three positions.if user select test01 button's position others shouldn't be display.(Display only one place depend on user decision) ...
2
votes
1answer
17 views

Show particular Block on the particular URL/page only

I am newcomer in Magento development, after 2 weeks I still feeling lost in the Magento 2 world. I have added following Block to the app/design/frontend/Mojambe/LuarBiasa/Magento_Theme/layout/default....
1
vote
0answers
30 views

Magento 2: How to show shipping amount without refreshing my cart page?

I try to bring the amount of the shipment from the backend without javascript. But when the cart page is displayed for the first time, the shipping amount is displayed as follows: but when I refresh ...
1
vote
1answer
27 views

How to set the product store view in magento2?

How to programmatically changes the product from default store view into all store view. Thanks.