Questions tagged [php]
PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.
1,467,144
questions
-1
votes
0
answers
10
views
comment résoudre le problème de memoire limité de laravel [closed]
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 360448 bytes) in D:\ibetaservice\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php on line 52
...
0
votes
0
answers
8
views
Want to sort with maximum variation price in custom code woocommerce
I am trying to sort WooCommerce products with maximum variation price. Site contains simple and variable products. My Query is sorting them by price, but the issue is that it is picking up the minimum ...
-3
votes
1
answer
16
views
Laravel maintenence mode timestamp?
Does anyone know an easy way to get a timestamp of when your laravel app is put into maintenance mode? I want to display a message on my view which says "last updated xxxxx"
1
vote
0
answers
181
views
Change product Status in magento order with SOAP API v2
We have a problem in Magento with SOAP V2 to change the "product processing status" in the magento order.
Our Magento Webshop:
We received an order from our webshop visitors .
Now we have a Magento ...
1
vote
4
answers
862
views
Any way to disable / not use oAuth on Magento's REST API, when GET/POST/PUT on customers?
I am new to Magento.
Is it possible to (temporarily?) disable the requirement for oAuth in Magento and still retrieve customer data. through the REST API?
So basically be able to issue GET, PUT ...
-1
votes
2
answers
5k
views
Magento custom REST API response in JSON
For Magento 1.9 I'm working on a module where I defined a custom REST route to retrieve all categories with subcategories. When I call <MAGE>/api/rest/eoarestapi/categories?type=rest the ...
7
votes
3
answers
14k
views
PHP fgetcsv() delimiter ';' not recognized
it seems I have a problem with the ";" delimiter. Here's my csv file:
First Name;Last Name;Email;Age
Julie;Brown;[email protected];52
Dan;Wong;[email protected];19
Tim;Hortons;[email protected];27
and ...
0
votes
0
answers
12
views
IMAP Error: EXPUNGE not allowed in session state when creating folder in Laravel
When trying to use the EXPUNGE command after creating folders with the IMAP server, we receive the following error:
BAD [ALERT] i.<unique_id> EXPUNGE not allowed in session state
The EXPUNGE ...
0
votes
0
answers
16
views
woocommerce_cart_item_price doesn't update mini cart subtotal
I am adding an array of free gift products to the cart when certain conditions are met. I have used woocommerce_cart_item_price to set the price of the products in the mini cart. However, it is adding ...
0
votes
0
answers
5
views
Error with Doctrine ORM attribute after converting code from annotation
I am upgrading from PHP7 to PHP8, ran my doctrine entities through Rector to update the annotations to attributes. I'm getting the following error that I cannot get past:
Attribute "Doctrine\ORM\...
2
votes
3
answers
20k
views
Check if username exists in database with codeigniter and ajax
Can anyone help me check if a username is in my database using ajax and code igniter?
I can't use the form_validation method as I have modal windows which interfere with the checking.
Currently my ...
0
votes
0
answers
11
views
How to allow customers to update their sales channel in admin interface in a Shopware 6 plugin?
I'm working on an e-commerce platform where customers are assigned to sales channels. Currently, this information is stored in the database, but can only be updated through direct database queries. I ...
0
votes
2
answers
234
views
PHP SOAP API Setup / Login
I've only worked with WEB APIs until now and i can't figure out how does SOAP exactly work. PHP official website lacks detailed information and the few examples didn't help me a lot. I believe that if ...
-1
votes
0
answers
49
views
Problem while trying to run composer update
I'm currently working on the dockerized version of ProcessMaker 4.1.21 and I'm encountering the following error when I try to run the "composer update --ignore-platform-reqs" command :
PHP ...
1
vote
3
answers
3k
views
How to paginate in react using inertia on laravel?
How to paginate in react using inertia on laravel?
pulling the paginated data:
$contacts = Contact::orderBy('name', 'asc')->paginate(10);
return Inertia::render('Contacts/index', [
'contacts' =&...