i tried to connect to API. All auth I have good done, results are right. But response always take error code 2009 -> request is empty. PHP that works $login = ‘tester’; $wpass = ‘fdsaasdf’; $auth = …
How to match or replace a pattern of two appearances of one statement in RegEx? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question I have a text like bellow: Ryan, Ryan needs to find his papers. I want to change the pattern of to
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in
Can anyone help me to solve this issue? I’ve changed PHP version form 7.4 to 8 and got this error: PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string …
Deciphering a Stack Trace Error on “Remember Me” Function
I have received my first stack trace error on a PHP beginners CRUD educational project. Since I am a newbie, I am having trouble with it. After many hours of research I believe I may have narrowed …
CollectionType elements missing data
I’ve embedded forms with CollectionType: and ‘battlePages’ is an ArrayCollection with many elements. But ‘$entity’ is empty however collection was walking through. My goal would be to get BattlePage entity’s data in the ‘BattlePageCollectionType’ which is my second in examples ($entity). Anybody had have similar issues? Answer The $builder->getData(); method doesn’t return an entity. You should use Form Events Example
download an xml file on the local machine without saving it (php)
i’m trying to build a php script that download an xml file with data from a db, the problem is trying to save it in the webserver and then download it dosen’t work cause i don’t have the permission &…
Zend Framework 3 : Unable to resolve service as a factory
I already saw many threads about my issue but none of the was able to fix it.. Indeed, I made a factory for my FournitureTable Model and the error returned is : Unable to resolve service “…
MySQL select query and PHP convert as nested JSON object
I am try to retrieve unique object with nested object property and value, is there a possible way to retrieve as json object key and their child property and value SELECT id,name,year FROM `…
select option to fetch other inputs
What Im trying to do is select item name where is ID and if item selected it automatically adds that item serial number to serial number input. I think it should be used ajax maybe but I dont know how …
Cron – bad minute errors in crontab file, can’t install
So I have a cron file sms.cron that I want to execute every 15 minutes that looks like that: 15 * * * * docker-compose exec php bin/console app:send-sms I do not precise the path to the command …