If I use PHP7.3, I cant migrate. There are a wrong function call.
In modules/Migration/models/Module.php is a function:
public static function getInstance($value)
but in modules/Migration/views/Index.php is a call
$migrationModuleModel = Migration_Module_Model::getInstance();
Maybe PHP5.6 tollerate it, but PHP7.3 does not
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Ruben, PHP 5.6/7.0/7.1 are EOL. 7.2 end of this year too. I think its time to make Vtiger compatible with a current PHP.
We are working with PHP 5.6, but my test system works with 7.3. In last time this was the first issue with php 7.3
@daniel.voelskow I've spent quite a while referring issues with method signatures to vtiger (they are reported as deprecated in 7.2) so most should now be fixed but there may be a few left over. Maybe change the title of the ticket to include the fact this is about a method signature?
@uma.s See above. It sounds like php7.3 will not allow inconsistent method signatures.
Daniel VoelskowTitle changed from Cant migrate with PHP7.3 to Wrong method signature in migration module
Title changed from Cant migrate with PHP7.3 to Wrong method signature in migration module
@ruben.estrada I check this with PHP 7.3
Drag&Drop with calendar events works with the actualy git/master, but in log it shows a error:
Got error 'PHP message: PHP Warning: Use of undefined constant activitytype - assumed 'activitytype' (this will throw an Error in a future version of PHP) in modules/Calendar/actions/DragDropAjax.php on line 270', referer: http://vtiger-test/index.php?module=Calendar&view=Calendar
@daniel.voelskow I checked through the static api declaration and call in php 7.3, Where this looks fine. As the signature of api is pubilc static and we are making call through scope resolution operator(::) should work fine.
Can you please get me through some reference on why is this breaking? I couldn't find one.
I can confirm the drag n drop of events in calendar view is an existing bug for vtiger 7.1 using php 7.1. So I think that makes vtiger 7.1 not compatible with php 7.1
The problem is in modules/Calendaractions/DragDropAjax.php:
The error is:
That's the code available in the latest commit. So I guess it must be an issue for vtiger 7.2 as well.
Sorry I didn't create a new issue Alan. I will try to replicate the bug on the latest master commit and open a new issue if it is still there.
Also, I note that one method relies heavily on the $_REQUEST super global. I thought v7 was supposed to drop this in favour of the Vtiger_Request class?
It would be great to hear from the Vtiger Team, what the "official" compatibility and the recommended php version are. I've struggled a lot with this specific topic.