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
29 views

Global Payments Realex 511 Redirect Issue Magento 2.2.2 HPP

I am using this module for Global Payments / Realex Payments for Magento 2.2.2 store form Magento Marketplace "name" : "realexpayments/hpp", "description" : "A ...
1
vote
1answer
35 views

Adding a BCC and CC (sales person) to the welcome email Magento 2

I've edited this function below and i'm overriding this method in app/code/FF/Customer/Model/EmailNotification.php natively this file exists in vendor/magento/module-customer/Model/EmailNotification....
0
votes
0answers
20 views

Stripe - Please check the shipping address information. “regionId” is required Error while Billing and Shipping Address is different

User is getting error Please check the shipping address information. "regionId" is required while user already entered the Shipping and Billing details in the shipping and payment details ...
0
votes
0answers
6 views

Implementing mapping in firebear module during migration

I need to set up store id mapping during order migration. The firebear website has an example of how to set up mapping, but I don't understand how this method will understand that I want to change the ...
0
votes
1answer
18 views

Exception #0 (ReflectionException): Class Droppa\DroppaShipping\Model\Carrier\DroppaShipping does not exist

I am new on the Magento 2 eCommerce platform and I have created my own shipping model. On the Admin configuration sales page, all the contents appears just fine, the problem is the Front side view, I ...
0
votes
0answers
19 views

Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null on vendor/magento/module-ui/Model/Export/ConvertToCsv.php:

I am trying to export from a custom grid. I am getting this error. Fatal error: Uncaught Error: Call to a member function setCurrentPage() on null in /Users/aftabaslam/www/arb-marketplace/vendor/...
0
votes
1answer
15 views

display configurable product name underneath the price?

is there a way to display configurable product name underneath the price or anywhere?
0
votes
0answers
100 views

Magento 2.4.1 Disabling MSI Modules (responsible for inventory) after Upgrade to 2.4.1

We have a Magentoshop (2.4.1) running with elastic-search. Because there is no need of any inventory-tracking, I disabled all the modules according to the following suggestions: https://devdocs....
0
votes
0answers
14 views

Resizing image files

I have a little problem resizing images, the files charged on magento are something like 2500x2000 and i would resize that charged images to transform in something like 500x500. I have two phtml that ...
0
votes
0answers
26 views

Magento 2: Add Image to the Customer Account Navigation Menu

I hope everyone is doing well! I am new to Magento 2. I would like to add Image for all the menus in "Customer Account Navigation Menu" at the top of each link. I am able to change the text ...
0
votes
1answer
24 views

Magento Import products Internal Server Error

I just clicked on Check data for imported file I have inserted It keeps on loading there is in infinite Please wait and sometimes shows 500 Internal Server Error The server encountered an internal ...
1
vote
0answers
20 views

Magento 1 configuration in .htaccess is not working

In magento i have added the below configuration in .htaccess file php_value session.cookie_secure 1 php_value session.cookie_httponly 1 <IfModule mod_php5.c> php_value session.cookie_httponly ...
1
vote
2answers
646 views

Magento 2.4 - Composer php 7.4 error magento/magento2-functional-testing-framework

We run Magento 2.4 with php7.4, that should be supported. But we get the following error when we try to update a module using composer: magento/magento2-functional-testing-framework 2.6.5 requires php ...
0
votes
0answers
15 views

Magento1.9 - Model Cache argument error PHP7

I've been trying to get my Magento1.9.3.0 shop running on PHP7. After applying the patch, I keep getting to error below and the website is not running anymore. I did try to disable all the extensions ...
0
votes
2answers
43 views

Magento 2 rating add custom filter add in product page review tab

i need a filter review by name or date and by sort in magento 2.3 product review tab , so customer can easily search best review how can implement this functionality?
0
votes
1answer
27 views

How to check if the weight of the product is more than 20 kg

I have a simple shipping method implemented by this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I added the Max Weight field <field id="max_weight" ...
0
votes
0answers
14 views

Magento 2 Composer install error

The following are causeing PHP version error plz suggest solution
0
votes
2answers
12 views

Help make a condition involving an array

I have data from the server: $this->getConfigData('groups') = "1,5,9,10" I need to make a condition, if one of these id matches the id from the custom group of the current user, then ...
0
votes
0answers
17 views

V1/customers/me rest endpoint returning same response for each request

I am working on magento2.2.6, Rest api endpoing V1/customers/me returning a single response for each token. I have generated tokens for different users, but it always return the same response, even ...
0
votes
1answer
22 views

.pdf opening 403 Forbidden issue in Magento 2.3

I have an issue in opening .pdf file Forbidden You don't have permission to access this resource. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the ...
0
votes
2answers
166 views

Magento 2.3.5p2 - Invalid security or form key. Please refresh the page after installing banner slider

I downloaded BannerSlider from GitHub and pasted the files into the app> code> Magestore. in the admin panel, it showing the manage options but when I click it says Invalid security or form key....
0
votes
1answer
59 views

Magento 2.3.2 Add to cart not working even with 127.0.0.1

I have installed fresh Magento 2.3.2, but add to cart is not working even I have changed the secure and unsecure base url in core_config_data table from http://localhost/magento2/ to http://127.0.0.1/...
0
votes
1answer
38 views

Magento 2 categories issue

I got Magento 2 issue. I can't open categories on frontend. I'm getting following error {"0":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'krono_mag.inventory_stock_1' ...
0
votes
0answers
31 views

Magento 2.3.4 - Reindex Catalog Search MySql Error

I am trying to reindex the Search however, I keep getting this error; any hint? bash-4.2$ php bin/magento indexer:reindex catalogsearch_fulltext Catalog Search indexer process unknown error: SQLSTATE[...
1
vote
1answer
65 views

Magento 2 Not Removing Product Special Price by importing CSV

I am trying to remove the special price of my product by the import CSV. Tried Several Ways. By adding "0" in the column. Also tried to import with Empty Column. But nothing happened.
0
votes
0answers
24 views

get product id to export to: CSV

I need to find out how this "Export to: CSV" field in order management does to export all products at once. Does he receive id for all products?
0
votes
2answers
80 views

I want to update order status using magento's rest api

I want to use Magento Api for Updating Status of order in Magento 2.3.5 so anyone can guide me from scratch how can i use api. I also want to know in Magento how many default api is there and how to ...
1
vote
3answers
333 views

Magento 2 - I'm upgrading magento 2.1 to 2.3.5 but compile command returning error

I'm trying to upgrade magento 2 version to the latest version by following commands php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.5 --no-update composer ...
0
votes
0answers
39 views

Your PHP version is 7.2.24-0ubuntu0.18.04.6. The required PHP version is ~5.6.0|7.0.2|~7.0.6

Trying to install Magento 2 to my ISPCONFIG / UBUNTU 18 I'm getting an error saying: Your PHP version is 7.2.24-0ubuntu0.18.04.6. The required PHP version is ~5.6.0|7.0.2|~7.0.6. Any idea how can I ...
0
votes
3answers
163 views

How to redirect a request in Magento from custom Module controller?

I have a third-party module installed in my Magento ver 2.3.4-p2 instance. I need to put a redirect from a file in the module, which is present in app/code/Plazathemes/Blog/Controller/Router.php ...
0
votes
0answers
42 views

getting problem for magento1.9.4.4 backend product attributes at edit time how to fix it

I have updated magento from magento 1.9.3.8 to magento 1.9.4.4 using magento manager connect. after upgrading every thing working perfect, but getting problmes for backend when i go for edit ...
0
votes
1answer
45 views

solution to invalidate private content?

Please help me, I want to know exactly how the Invalidate private content works? the solution to invalidate private content? example: when I add to cart in Magento 2, how to identify change data and ...
0
votes
0answers
17 views

Magento 2: How to pass date in URL to home page logo?

I need to pass date-stamp in the format 20200513 in URL to homepage logo to ensure browser doesn't cache the logo and gets the latest logo whenever the logo switching recurs following a cron job meant ...
0
votes
1answer
34 views

Looking to replace document.write(new Date().getFullYear() with an equivalent PHP function

I am looking for an equivalent PHP function to accomplish what document.write(new Date().getFullYear() is expected to do. This function is to be used in place of deprecated document.write(new Date()....
0
votes
1answer
17 views

store logo not showing in transnational order email in magento 2

the store logo is not showing in order email which was showing and uploaded in the configuration -> design ->transnational email section
0
votes
0answers
251 views

Magento 2 is giving me Fatal error: Allowed memory size of 1073741824 bytes exhausted when i am trying to save product

I am getting following errros Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 73400328 bytes) in public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/...
0
votes
1answer
565 views

How to get local storage in magento controller to use as available?

I writing a plugin to add condition into beforeLoad function of product collection. I set local storage example js to set local storage: if (typeof(Storage) !== "undefined") { // Store ...
0
votes
1answer
30 views

Magento SQL unknown query

we are seeing this SQL query in our DB and are unsure what is generating this, we have flat catalog index enabled so it should not be asking for this sql query select `e`.*, if(at_visibility.value_id &...
0
votes
1answer
135 views

Call to a member function setMessageType() on null

Using Ultimate Followup Email extension for Magento 2 but throws me an error when cron is trying to send out emails: main.CRITICAL: Error when running a cron job {"exception":"[object] ( ...
0
votes
1answer
17 views

When transferring data through $customerSession, I receive data locally, but not on the production

I have a custom functionality for creating an order, I want to transfer the custom LastOrderId to the success page to which the user gets after submitting the form. The controller responsible for ...
0
votes
1answer
44 views

Magento 1.9 - Custom message display at PDP page

I need to display delivery information on PDP page (app\design\frontend\default\theme\template\catalog\product) If SKU 66 the product delivery information is 5 To 15 Business Days For other product ...
0
votes
1answer
25 views

1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value

1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value when i add new customer and open existing customer In Admin side, Error is mention in above screenshot.
0
votes
0answers
82 views

Add to cart Ajax not working in Algolia Instant search result page

I am getting the issue on the Product listing page. here below is the scenario: 1. Open any Product Listing page and filter with any brand. 2. Then click on add to cart button of any simple product. ...
0
votes
0answers
55 views

Autoload Magento 2 Issue

My website has been migrated to a new server in the same hosting for reasons of optimization, after it, appear this issue when I'm trying to enter in any page of Magento Autoload error Passed ...
2
votes
3answers
3k views

Undefined class constant 'PDO::MYSQL_ATTR_SSL_KEY' in/magento/setup/src/Magento/Setup/Model/ConfigOptionsList.php:179 in magento localhost

Ater execute any command getting this error Operating system :- Mint ubuntu Php version :- 7.2 Magento :- 2.3.4
0
votes
0answers
18 views

PHP Script in Magento 2 Custom Module Works in Browser but Not Working through Cron

We have a custom module that executes a php script. When running the script through an observer event, the script runs without a problem. When running the script through Cron, the script runs but does ...
2
votes
1answer
39 views

How to Set Condition for MetaDescription in Magento 2

I am trying to set a meta description dynamically for Magento 2 categories as default rules. And I did manage to do it, here is my code. public function execute( \Magento\Framework\Event\Observer $...
0
votes
0answers
13 views

Set Category default sort order to custom option

I have created a module that removes default Category product listings sorting orders and adds new custom ones. How do I go about setting one of the custom sortiong options as a Default one? Right now ...
0
votes
1answer
47 views

including external js library showing error in console in magento 2

I am getting error in the console after including the external js file like this in default_head_block.xml
1
vote
1answer
90 views

Error in Curl request with response in Controller

I'm trying to get curl response from js (cc-method.js) file. The curl call code is in controller file domain.com/frontname/section/index. Below is the code, public function execute() { // create ...

1
2 3 4 5
10