Zend Framework 2 zftool fatal error - php

When running the zftool.phar I get a fatal error in the terminal.
Fatal error: Class 'Zend\Form\FormAbstractServiceFactory' not found in phar:///Users/peter/Sites/zftool.phar/vendor/zendframework/zend-servicemanager/Zend/ServiceManager/ServiceManager.php on line 2
What am i doing wrong?

Seemed to be an outdated version, downloading the latest version solved the problem.

Related

Interface 'JsonSerializable' not found

I am getting Interface 'JsonSerializable' not found error in my site.
I am using Laravel 5.4 and PHP 7.1.13.
JSON module is also enabled in Cpanel.
But still i am getting following error:
PHP Fatal error: Interface 'JsonSerializable' not found in
/******/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 22
PHP Fatal error: Interface 'JsonSerializable' not found in
/******/vendor/laravel/framework/src/Illuminate/Support/Collection.php
on line 17
Thanks in advance!
Check your Php info Settings, Json is Enabled.
PHP Fatal error: Interface 'JsonSerializable' not found - My Php Version is 7.0.17
I have faced the same problem in my Cpanel. When I upgrade the PHP version of my Cpanel MultiPHP Manager, it works fine.
Upgrade PHP version 7.4 to 8.0.
I got the same error on cpanel, I solved it by changing the php version from 7.3 to 7.4 under MultiPHP Manager.
~regards

Class 'DateTimeImmutable' not found

I've just run an update for my CakePHP version (3.1.7). And now I'm unable to run my app, with a fatal error :
Fatal error: Class 'DateTimeImmutable' not found in /opt/lampp/htdocs/my-app/vendor/cakephp/chronos/src/Chronos.php on line 50
I found this issue on Github, where I noticed that
DateTimeImmutable was not present in 5.4
So I install PHP5.6.20 on my PC, but after restarting Xampp, I still get the same error. How can I fix this ?
PHP's installation on the PC is not related to Xampp. So installing PHP doesn't solve the problem. But installing a new version of Xampp with PHP 5.6.
It's a PHP Version Problem make sure You're using PHP > 5.5v

Fatal error while installation of orocrm

I'm getting this error when trying to install orocrm :
Fatal error: Cannot use 'True' as class name as it is reserved in
C:\xampp\htdocs\crm-application\vendor\oro\platform\src\Oro\Component\ConfigExpression\Condition\True.php
on line 10
Any idea what might be the cause of this?
You are using PHP7. For now OroCrm doesn't support PHP7.
You need to downgrade PHP to 5.6 version.

Fatal error: Class 'Zend_View_Helper_Placeholder_Container_Abstract' not found in C:\xampp\php\PEAR\Zend\View\Helper\Placeholder\Container.php

I had a problem with zend library. I am using php 5.2.4 and xampp 1.6.4. I am getting the error below. Here I am using windows 8.
Fatal error: Class 'Zend_View_Helper_Placeholder_Container_Abstract' not found
in C:\xampp\php\PEAR\Zend\View\Helper\Placeholder\Container.php on line 34.
Is there any thing that I need to set. I have tried with latest version zend also. But same error.
When I work with windows 7. It is fine.

Class 'SoapClient' not found in.. wordpress

I get this error:
Fatal error: Class 'SoapClient' not found in /hoe/roits/wp.com/wp-content/plugins/Aggmges/classitle.php on line 51
Worpress doesnt seem to have the latest php installed as I understand. What can I do to install the newest php or make it so that the SoapClient will work in worpress?
http://php.net/manual/en/soap.installation.php
Install the php soap module if you don't have it, and make sure enabled in php.ini

Categories