Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
147 views

I want to set output_buffering=0 in a single directory. When I create a .user.ini file in that directory with output_buffering=0 , phpinfo() shows 0 for the the local value, and 4096 for the master, ...
tvanc's user avatar
  • 4,414
0 votes
1 answer
156 views

I just recently tried updating my WP website manually on my local machine, only to crash with this undefined function error. I checked utf8.php in the wp-includes folder and the new function, ...
Morgana's user avatar
  • 11
4 votes
3 answers
425 views

I am in the process of upgrading our code from php 8.2 to 8.4 I noticed we are getting some test failures because of round() returning different values than expected. Ultimately the problem could be ...
yeaitsme's user avatar
  • 129
2 votes
1 answer
58 views

I'm using PHP 8.2. I have the following heredoc: $a = 4; $b = 2; $str = <<<EOT $a + $b = {$a + $b} EOT; print $str; Error: PHP Parse error: syntax error, unexpected token "+", ...
John Cowan's user avatar
  • 1,794
0 votes
0 answers
145 views

Before with my Symfony project with the version 6.1, I could do it. {{ form_start(form, {'attr': {'id': 'form-add-meeting'}}) }} {{ form_widget(form) }} <label for="">Date ...
Michaël Godinho Da Costa's user avatar
-2 votes
2 answers
173 views

I'm having this error that I can't seem to resolve. I'm making a Laravel application in PHP. The routes in the web.php file are correct. There are no errors in the controller, nor in the kernel.php ...
utente1234567890's user avatar
1 vote
0 answers
56 views

I've been looking into Symfony's code to understand it better and noticed that Symfony\Component\Security\Http\Authenticator contains the base authenticator classes that comes with Symfony, and in ...
537mfb's user avatar
  • 1,532
1 vote
2 answers
59 views

Running the following script: var_dump( (DateTimeImmutable::createFromFormat( format : 'Y-m-d H:i:s', datetime: '2120-10-03 07:00:00', timezone: new DateTimeZone('Europe/...
DevelJoe's user avatar
  • 1,592
-1 votes
1 answer
225 views

Q A Version doctrine/orm 3.3.2 Version php 8.2 Summary I've got a blocking issue while trying to use a class which is a readonly class. I just can't use it since doctrine has auto-generated a Proxy ...
Vincent PHILIPPE's user avatar
0 votes
1 answer
150 views

No it isn't as easy as it looks! The default php version running on this Ubuntu 22.04 server is php7.4 and most of our applications run with it. Now we want to lift some applications, which run under ...
Calamity Jane's user avatar
0 votes
1 answer
265 views

I'm deploying a Laravel 10 website on Azure Web Services (Linux) using an App Service (Basic B3 Plan) and an Azure Database (MySQL). The project is fairly simple, containing only a homepage and ...
Jaian's user avatar
  • 3
0 votes
1 answer
30 views

I am using php8.2 in a Symfony 6.4 app. I have a DTO, which is defined as follows: final class Store { public function __construct( public readonly string $storeNumber, public ...
Calamity Jane's user avatar
-1 votes
2 answers
154 views

I am building a CRUD notes app and I have this controller, I am trying to get all the notes from a user to display in the index page also I am using laravel breeze. The IDE says "Undefined method ...
jm1004's user avatar
  • 15
0 votes
0 answers
282 views

I have created a custom plugin to list Mp3 files from a directory in a table but I am facing an issue Joomla gives me error: 0 Class "Factory" not found I am using Joomla 5.2.3 and PHP 8.2 ...
9944990's user avatar
  • 444
0 votes
1 answer
108 views

I've been trying for hours to figure out this error in CodeIgniter 4 (PHP 8.2), and I think someone else might notice what I'm missing. I have a Model with an update function. When I use it as is, I ...
ADF's user avatar
  • 11
2 votes
1 answer
278 views

ClockMock is a very useful tool for creating time sensitive tests e.g. if a date is in past A should happen, if it is in the future B should happen. ClockMock is a part of the phunit-bridge, which ...
Calamity Jane's user avatar
1 vote
0 answers
52 views

Suppose I have a Laravel 11 application running at www.website.com, which is hosted at a linux machine. The application has a poor response time because it has to fetch data from three databases ...
HelloWorld's user avatar
0 votes
1 answer
348 views

I don't know how to solve this problem. I have the following function in my project: public static function getTimeAgo($datetime, $full = false) { $now = new DateTime; $ago = new DateTime($...
Marco Floriano's user avatar
0 votes
0 answers
61 views

I want to make a form using checkbox in CI 4.5.5, but I got an error "Array to string conversion" Form file <form action="" id="form_validation" method="POST"...
Raina Zah's user avatar
1 vote
1 answer
67 views

I'm working with PHP 8.2 and need to import an XML node from one document to another without PHP automatically adding the "default" namespace prefix. This is breaking the digital signature ...
Alekei's user avatar
  • 11
0 votes
1 answer
71 views

This is a serious head-scratcher (for me at least). I have re-structured my application to trigger issuing of email and SMS notifications regarding an action after the browser request has been ...
John Rix's user avatar
  • 6,723
0 votes
1 answer
192 views

My class, which I try to validate, has a property, which can be either an empty array or an array of certain objects: use App\Api\Dto\WorkHour as WorkHourDto; use Symfony\Component\Serializer\...
Calamity Jane's user avatar
1 vote
1 answer
530 views

I had no problem with ckfinder in php version 7, but after updating the server to php 8.2, when I upload a photo through quick upload, I get the following error. CKSource\CKFinder\Filesystem\File\...
user3754884's user avatar
1 vote
2 answers
246 views

I have an associate array like this: $all_works = [ ["title"=>"A Children’s Story", "year"=>"2024"], ["title"=>"Occurred during ...
Coding_with_a_Tractor's user avatar
1 vote
0 answers
54 views

I had: /var/log/php-fpm/www-error.log and php.ini already log Fatal errors. All Fatal errors logs have function args. Example: myFunction('hello','bla blabla') And these args show on the www-error.log,...
Ken Le's user avatar
  • 1,803
0 votes
0 answers
162 views

In a class I use file_put_contents, which only gives a warning and not an exception to catch. The way to do it as I saw also in the docs is a callable function. The examples I find are for non object ...
Calamity Jane's user avatar
1 vote
0 answers
179 views

I am changing from annotation to attributes and have trouble to get my serializer groups. I annotate properties in my data classes (not Entities) like this: use Symfony\Component\Serializer\Annotation\...
Calamity Jane's user avatar
1 vote
0 answers
136 views

I am using PDO connection for Cloud SQL from website. I have updated PHP to 8.2 recently and connection has stopped working and giving error [MY-010914] [Server] Bad handshake even though there is ...
K Kataria's user avatar
0 votes
1 answer
402 views

I have trouble compiling php 8.2.16 on Mac OS Ventura 13.6.4. The configure script does not recognize the GNU libiconv installed with Homebrew in /usr/local/opt/libiconv. I succeeded to compile and ...
Lasse's user avatar
  • 1
1 vote
0 answers
54 views

Recently I upgraded Debian Version 11.8 to 12.4 ( bullseye -> bookworm ) This included also an upgrade of php 7.3 to 8.2 After the upgrade almost all web services were running but only one didn't. ...
hans's user avatar
  • 41
0 votes
1 answer
471 views

My web app has been working fine for many years on PHP7 on Google App Engine and Cloud Storage. This week I'm updating to PHP8 and have fixed the usual issues with stricter types, etc. The only issue ...
Mark's user avatar
  • 41
0 votes
1 answer
171 views

I'm a java developer; New to Laravel and PHP both. I learned how to define a global variable in Laravel controller class and used it as such. But it returns null in all other functions. I have a class ...
Sikander Ali's user avatar
3 votes
2 answers
4k views

I don't get the curl extension working for php 8.2. Im using MAMP PRO (latest version) on windows. For php 8.1 it worked. I tried with php 8.2.1 and 8.2.2. What I tried: Uncomment php_curl.dll in ini ...
Timo's user avatar
  • 41
0 votes
1 answer
478 views

I have updated my local setup with PHP 8.2.13 version, my project is working fine. I have third party API call within my project which is implemented with guzzleHttp client class. GuzzleHttp version I ...
Amruta Ranade's user avatar
2 votes
2 answers
967 views

I have a simple symfony form used to create a ThingEntity. I have a CreateThingType and a CreateThing DTO: The DTO namespace App\DataTransfer; use App\Validator\UniqueNameForParent; use Symfony\...
Angulator1st's user avatar
0 votes
1 answer
425 views

I am facing a unique challenge with the mPDF library in PHP when generating PDFs containing Urdu text. The specific character causing issues is 'ہ' (Heh), which appears to be either missing or not ...
Muhammad Yahya Imran's user avatar
0 votes
0 answers
365 views

I'm new to Symfony and I'm trying to make a simple web page, afterinstalling docker, php 8.3 and composer, I downloaded a Symfony image (v5.4.20) and added doctrine to it Now, both the database and ...
Saleck's user avatar
  • 13
1 vote
1 answer
210 views

I'm trying to add files to a big archive (currently using zip but any format is fine) but any time I add even a small file it will rebuild the archive. Even though this is fairly fast, I want this ...
K1ll3rM's user avatar
  • 73
2 votes
1 answer
417 views

I'm migrating a GCP app engine from an old PHP5.5 to a PHP8.2. The app deploy passes OK. When sending requests to the GAE, I always get HTTP/1.1 502 Bad Gateway errors, but according to the logs it ...
Tibo's user avatar
  • 21
0 votes
0 answers
338 views

By reading the title you can understand my stack, and problem, but let's explain it in detail. I have a pop-up modal CheckOutModalPaper (which is basically a Teleport component.) that i'm using in my ...
theDonsDonsDon's user avatar
0 votes
1 answer
2k views

I am getting following error on line 42 of my code. But strange thing is I am already checking for null and the actual error seems to be happening on line 44. How to fix this issue? Error Uncaught ...
Frank Martin's user avatar
  • 3,459
0 votes
1 answer
186 views

I am using Laravel 10 with Livewire v3. I have a method that accepts array as one of the parameter. If the parameter is just an array then the method will behave differently, if the parameter is ...
VoidOfLimbo's user avatar
0 votes
0 answers
305 views

Inside the loop the $qty[$key] and $action[$key] both works fine but I am facing this error with the $batch_id[$key]. The loop I used for test is just two indexes. and the dd of $data as shown below. ...
Hagar Maher's user avatar
1 vote
1 answer
493 views

We're using cache files that consist of a combination of simple PHP code and HTML. These cache files are stored with a PHP filename. Some files exceed 400 KB, and I've noticed that Google App Engine, ...
H Marinho's user avatar
1 vote
0 answers
170 views

I recently migrated my Laravel project to PHP 8.1, and I'm encountering an issue with dependency injection in my controllers. I have set up auto-injection in my AppServiceProvider using the bind ...
Lounes Hogez's user avatar
0 votes
0 answers
64 views

when add a product to my app, I check if property "is_force", user should add all required properties to request. but when sent with multipart/form-data header and if user does not send all ...
Reza Heydari's user avatar
0 votes
0 answers
270 views

I have a PHP file encoded using IonCube Encoder GUI 13.0.2. It is a PHP 8.2.4 code that runs fine unencoded, but crashes badly when encoded - causing a message similar to this (the second number ...
CSM MX's user avatar
  • 11
0 votes
1 answer
61 views

i trie to figure out what the use of the "text" is before te propery/variable in the contructor. What is the use of "TableGatewayInterface" in the constructor in the example below? ...
Jilco Tigchelaar's user avatar
1 vote
0 answers
143 views

I am currently encountering an issue with the OpenAPI specification within the ApiResource annotation of API Platform. My environment is configured with API Platform version 3.2.4, Symfony 6.2.14, and ...
David Merle's user avatar
0 votes
2 answers
480 views

I have a project developed in Sulu CMS v2.5.10, and I updated my Symfony to v6, and PHP to v8.2, and in project I have package: maxbenton/cwh v2.0.4 App is returning next error: !! PHP Fatal error: ...
Srdjan Mish's user avatar