Questions tagged [php]
This tag is used for questions that involve PHP code in any way. So as soon there is a PHP Exception returned or error report generated, this question qualifies to be tagged with PHP.
3,861 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
15
views
2.4.7-p7 Uncaught TypeError: locations.each is not a function
Is there available patch on 2.4.7-p7 version?
Here is the issue:
Here is the possible core code:
vendor/paypal/module-braintree-core/view/adminhtml/web/js/system.js
Tried to apply this solution but ...
0
votes
0
answers
18
views
Infinite Loader When Using "Login as Customer via admin panel" for Multiple Sessions the same browser
We’re encountering an issue with the "Login as Customer via admin panel".
Scenario:
Customer A log in via the backend admin panel then perform add to cart.
Without logging out on customer A, Customer ...
0
votes
1
answer
96
views
Magento 2 : Admin page just refreshes and doesn't login
I use magento 2.4.8 with php version 8.3. When I try login to admin page it just refreshes the page and doesn't login. It shows no error msg and also nothing on console. Just the page refreshes. I ...
0
votes
0
answers
39
views
Magento2 css / js not loding in MacOs With Nginx
Installed Magento2.x in MacOs with Nginx. Setup everything is completed. When I run the website in the frontend, css/ js not loading showing 404.
Actually css/js present in the location but showing ...
0
votes
0
answers
33
views
m2e automatic invoice upload and xtento
I want to turn on automatic invoice uploading on amazon . I am using m2e pro extension and it has that option but it still uploads basic magento invoice instead of my custom one which is created with ...
0
votes
0
answers
51
views
Magento2 backend kicks out admin user
when I open console in magento2 admin it kicks me out and then I have formkey issue on same user.
0
votes
1
answer
38
views
Magento 2 - Category Layered navigation - Hide OR show selective category filters from the list of all subcategory filters
In magento layered navigation. There is a filter by category in category listing page. How can we show the selective filters up there?
I mean if there are:
Category 1
Category 2
Category 3
And i ...
0
votes
1
answer
71
views
HTML & W3C Validation errors - Unable to fetch the errors from Markup Validation Service
I've been assigned the task of fixing the HTML and W3C validation errors. Of course, before I can fix them, I need to verify the errors first.
So I navigate to the URL:
https://validator.w3.org/#...
0
votes
1
answer
147
views
Magento 2 UI-Select: "Entity with ID ... doesn't exist" After Searching Again
I am using a ui-select field in my Magento 2 admin form. The dropdown fetches data via AJAX on search and correctly displays options. However, I'm facing an issue:
First search: Options load ...
0
votes
0
answers
43
views
Failed to add the foreign key constraint '---/CUSTOMER_ENTITY_STORE_ID_STORE_STORE_ID' to system tables
On running the setup:upgrade command I'm receiving this error on Schema generation.
Schema creation/updates:
SQLSTATE[HY000]: General error: 1823 Failed to add the foreign key constraint '/...
0
votes
0
answers
77
views
Correct Directory for PHP Form Handling Script
I am currently working on a "Contact Us" page for my Magento website, where users can submit an inquiry form, and the details will be sent to a company email via a PHP script (send-email.php). However,...
0
votes
0
answers
75
views
How to change the placement of categories filter in Magento 2.4.7 from sidebar to top of catalogue page
I'm working with Magento 2.4.7 and using the Minimog theme from Bluesky. Currently, the categories filter is part of the layered navigation on the left side of the catalog pages. I want to move this ...
0
votes
0
answers
34
views
Magento 2.4.4: Bug in the tax calculation for customers with a VAT number
I am experiencing a problem with Magento 2.4.4:
I have created two customer groups: Bronze and Bronze_Vies (for European customers with valid VAT number). The Bronze_Vies group should be tax-free, but:...
0
votes
1
answer
59
views
Magento 2 | Adding values to the multiple select attribute of the product
I have created a product attribute in Magento2 which is of type multiple select.
Right now it is empty for all products and has no options created.
With my php code I am trying to add a random value ...
0
votes
3
answers
110
views
Preload page into Varnish
I'm trying to preload a huge page into varnish, after i have done some maintenance on different pages and need to flush the cache.
But how to I programmatically trigger Varnish to cache that one page ...