We have recently migrated our application to a new server. Since our migration we are experiencing a lot of PHP message: PHP Fatal error: Call to undefined meth
I had to install shopify-cli for develop shopify app with laravel. installation and test app are created successfully but when am i calling the API of shopify i
I want to deliver html value through JS to PHP handling, but I still got error, 400 (Bad Request) . This is HTML: </div> <form class="row g
I wrote a function to find a file in a specific directory and its sub-directories. You can input the filename with or without extension (basename vs. filename).
In my PHP project I am updating some composer packages as I upgraded the PHP to version 8.1 I have some Symfony packages that I am updating..
I am doing a small project where I have an entity with a roles property which consists of an array. What I am trying to do is, in some controller, find an exist
I have a web application built with PHP and JS. In this app I make different operations with certain files and i encounter the next problem: The user needs to u
I am trying to develop an image_compressor web project. I am confused about the best image type for faster page loading speeds and best compression practices. P
There is something I can not seem to find documentation on: I have this form with multiple buttons. The buttons have their own actions associated with them and
I want to extract and run PHP functions from a JSON string variable. my string variable is something like this : $str = '"field_table_id": { "element_name":
I am creating an app and I want that the buttons appear based on your $job. There are 4 jobs, which are all in mysql databases: student teacher staff principal,
I am using Woocommerce with the Woocommerce Subscriptions plugin and I am trying to assign different subscription_id to each item in the cart. So far I have man
I have the code below but it showing an error "Cannot use empty array elements in arrays". It seems that the issue is in this line }), collect(json_decode($pos
I'm coding a master detail page with Symfony 5 and twig I have table product, and another options When I create a product, I want to ask for name and have to ch
So I am a beginner working on a project with symfony 5.2 project with php 8, and I have been trying to run this command symfony console doctrine:fixtures:load
I use multiple database connections in my app, one SQLServ, and another MySQL. I want to debug every query from both servers sequentially. therefore rather usin
Could someone explain me how can I add some entities in to database for test purpose? I want to test that endpoint /show/{id} show correct response, but to chec
i am learning the codebase below form a different developer.i have understood all the sections except this line which defines this variable $price = (int)str_re
I am trying to email a form data with phpmailer. I am stuck with it. for some reason I am getting Failed to load resource: the server responded with a status of
I am receiving an HY093 (Parameter count mismatch) SQLSTATE on a query where I don't believe a mismatch exists. Below I have a complete PHP script to reproduce