By Neel on Tuesday, 12 December 2017
Replies 13
Likes 0
Views 1K
Votes 0
Is Payplan Compatible with PHP 7.1? I recently tested my website by updating the PHP from version 5.6.31 to 7.1.8 and then my main menu stopped loading completely, Joomla menu links were not working properly and had other issues with SEF urls from modules. When I enabled the System Log, I noticed these errors keeps repeating:


Notice: Array to string conversion in /SITE/plugins/payplans/menuaccess/menuaccess/joomla/abstract/j35/menu.php on line 273

Notice: Undefined property: stdClass::$Array in /SITE/plugins/payplans/menuaccess/menuaccess/joomla/abstract/j35/menu.php on line 273


When I disable the `PayPlans-Menu Access` plugin, it works fine.

1. So is Payplan compatible with PHP 7?
2. Are the Payplan Apps and Plugins compatible with PHP 7 as well?

I am using:

Joomla 3.8.1
Payplan Version : 3.6 | Build :3
PayPlans-Menu Access 3.6.0
Hello Neel,

In app store if you are not able to update the menuaccess app then uninstall it and then again install Menuaccess app to version 3.6.4 or you can provide me the test site access to check this issue.
·
Wednesday, 13 December 2017 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Neel,

PayPlans is compatible with PHP 7.1. By the way, did you update the menuaccess app yet? We have updated the menuaccess app to 3.6.4
·
Tuesday, 12 December 2017 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I have the latest App version installed. When I go to Extensions manager, it shows it as version 3.6.0, but when I go to the Payplan's App Store, it does "Installed" as in the latest version currently installed and it doesn't show Upgrade available.
·
Tuesday, 12 December 2017 21:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Neel,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue? You may store your site access at http://stackideas.com/dashboard/site so you don't have to provide these information all the time
·
Tuesday, 12 December 2017 21:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I have added the site details now. However, please note that I am testing the Php 7.1 in my MAMP server and not on my production server yet. However, in my production server you can see that `PayPlans-Menu Access` in Extension manager will show as version 3.6.0 but the Payplan App-Store will show that this is the latest version installed. I have the same set-up in my Mac's MAMP server that I use for testing 7.1.

Thanks,
Neel.
·
Tuesday, 12 December 2017 21:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Neel,

I have updated menuaccess app your site and no errors shown in frontend.
Please take a look and let me know if still issue persist.
·
Wednesday, 13 December 2017 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Manisha. I can only verify this in my test site that is in my Mac's Mamp server. My production site is still on php 5.6 and thats why no error shows in frontend. How can I add this update into my test site to ensure the error is not appearing in php 7.1?

Thanks.
·
Wednesday, 13 December 2017 11:13
·
0 Likes
·
0 Votes
·
0 Comments
·
If i uninstall it, wouldn't I lose my existing App instance settings? So this means, I need to recreate the app instance and add that settings again?
·
Wednesday, 13 December 2017 11:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

No, app instance will not delete, they will appear again after installing app.
·
Wednesday, 13 December 2017 11:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

Perfect. that worked. Uninstalling the plugin did not remove the App instance and it was just temporarily disabled until I reinstalled the plugin. After reinstalling the 3.6.4 version of this plugin, the fatal error did not happen in php 7.1.

Thank you for that.

Cheers,
Neel.
·
Wednesday, 13 December 2017 16:56
·
0 Likes
·
0 Votes
·
0 Comments
·
It sounds good that your issue is resolved.
·
Wednesday, 13 December 2017 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Payplans is indeed compatible with PHP 7.1, but unfortunately not all apps in Payplans are compatible with PHP 7.1. There currently is an error in the upgrade app and the EU vat app. Maybe more apps are incompatible, but we are currently experiencing issues with PHP 7.1 and these apps. We had no problems with PHP 7.0, but once we upgraded to 7.1 these issues appeared.

With the upgrade plugin you will get this error whenever somebody tries to upgrade:

Error: Too few arguments to function plgPayplansEuvat::_onPayplansTaxRequest(), 2 passed in libraries/joomla/event/event.php on line 70 and exactly 5 expected

With the EU vat plugin all valid EU tax numbers will be marked as invalid.

I will also send a ticket to Stackideas support about these issues and will let you know when there is a solution.
·
Wednesday, 10 January 2018 20:36
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Thursday, 11 January 2018 10:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post