Questions tagged [php-7.3]

Use this tag for version-specific issues relating specifically to PHP 7.3.Use with the [php] tag

319 questions
0
votes
0 answers

Everything returns null or empty on laravel with postgresql connection

I am having problems with connection my postgresql to php laravel project. There is no Exception or QueryException. Every query returns null or empty. For example DB::table('aaa')->insertGetId($data); //return…
0
votes
1 answer

Sqlsrv dll does not properly load on IIS

I am using PHP 7.3 and trying to run sqlsrv but I cannot get my PHP environment to load sqlsrv. I look at the phpinfo and the extension does not show up. These are the steps I have taken. Through the Web Platform Installer, I have installed PHP 7.3…
SA3709
  • 192
  • 2
  • 11
0
votes
1 answer

Can't read the name of the file input yii2

When I use the var_dump to see the result if I call the name of the file input in the controller I get this error: /app/backend/controllers/WithMeetingTrait.php:84:null This is the view:
adnen manssouri
  • 51
  • 2
  • 11
0
votes
1 answer

how to get laravel response the same page after login with ajax?

i have a login form to login a user i want to know about how to get laravel response in ajax success function. if submit the form i was got a object('status':'msg') in http://127.0.0.1:8000/login page. but i want to just redirect user correct page…
kealaxshan
  • 338
  • 2
  • 14
0
votes
1 answer

Php7.3 Parameter must be an array or an object that implements Countable

I switch to PHP 7.3 and i get the same problem like other people on this error ( Parameter must be an array.. .) I try to modify without success so i post this post. My code is : $i = $this->show($user->id); $a = json_decode($i); for ($b = 0; $b <…
Mnk
  • 1
  • 3
0
votes
1 answer

how to send mail with phpmailer class?

I created a phpMailer class and call it into my register.php file all fine. But dont find a way how to send emails from class. Here is my class: class mailSend { public function sendMail($email, $message, $subject) { …
user1805543
0
votes
1 answer

PHP Startup: Unable to load dynamic library (path exist)

I want to execute a program in a new VM of Debian 10 and I get warnings related to .so loading: Distribution related specs: Debian 10, php 7.3.11 Execution: ./program.php it contains the following shebang: #!/usr/bin/env php Warnings: PHP Warning:…
Vincent
  • 1
  • 1
  • 3
0
votes
0 answers

SQLite trigger execution, throws error on laravel

I have a table as follows: CREATE TABLE IF NOT EXISTS "matches" ("id" integer not null primary key autoincrement, "score_home" integer null, "score_away" integer null, "home" integer not null, "away" integer not null, "tournament_phase_id" integer…
victim
  • 65
  • 1
  • 6
0
votes
5 answers

Return function results based on condition - PHP

I have the following code public function create(){ return self::checkQuantity(); return self::checkSameLocation(); return self::someAnotherFunction(); return self::someMoreFunction(); .. .. .. } public function checkQuantity(){ …
Rehan
  • 3,813
  • 7
  • 37
  • 58
0
votes
1 answer

Access to undefined property in SETTER function while calling findFirst model function with Phalcon 3.4.4/PHP 7.3

Access to undefined property exception thrown in setter function when I fetch record by Example::findFirst($id) E_USER_NOTICE: Access to undefined property Example::property_five in /path/to/Example.php on line xxx class Example extends…
Manoj
  • 65
  • 2
  • 9
0
votes
1 answer

Symfony 4 with PHP 7.3 I get Composer update error

I changed my Ubuntu Plesk PHP Version to 7.3.11 to update my Symfony project with composer. I get the following Error: - /etc/php/7.3/cli/php.ini - /etc/php/7.3/cli/conf.d/10-opcache.ini - /etc/php/7.3/cli/conf.d/10-pdo.ini -…
0
votes
3 answers

php 7.2 not isntalled but showed on php -v

I have installed PHP 7.3 on my raspberry Pi. When I use phpinfo() in a browser it shows indeed PHP 7.3. But when I try it in terminal with php -v it says PHP 7.2.24 I searched for installations of PHP 7.2 but it isn't there. WARNING: apt does not…
Madriesen
  • 498
  • 2
  • 8
  • 22
0
votes
0 answers

Laravel file_put_contents(..../session/....) failed to open stream

I started to upload my project to a hosting server. But I got this error when I try to access a subdomain: file_put_contents(C:\xampp\htdocs\njt_private_project\thermo\storage\framework/sessions/JyNXpbnsmCU6vLK2OsPVRHPaQmvMQK5YIem2QXUt): failed to…
Hamza
  • 1
0
votes
0 answers

Windows Server 2008 R2-Command Prompt-php7ts.dll is missing

In Windows Server 2008 R2 i installed php 7.3 using with web platform installer on IIS 7.5. After installation In command prompt i ran this command : php -i|find "PHP Version" But i got this error : php7ts.dll is missing How can i fix…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
0
votes
1 answer

error sending email in codeigniter 3 and php 7

$config = [ 'protocol' => 'sendmail', 'smtp_host' => 'ssl://smtp.googlemail.com', 'smtp_user' => '***************', 'smtp_pass' => '********', 'smtp_port' => 465, …