› Forums › Post Pay Counter PRO › Support › Does not work with php 7?
We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.
- This topic has 8 replies, 2 voices, and was last updated 9 years, 6 months ago by
Stefano.
-
AuthorPosts
-
April 1, 2016 at 1:38 am #50469
Alma
GuestWe are currently testing our site on a staging server, everything is exactly the same except we have upgraded to php 7. Unfortunately this throws up a fatal error with post pay counter pro. Here is the error that is showing up on the post pages:
Fatal error: Uncaught Error: Access to undeclared static property: PPC_counting_stuff::$words_counting_system_data in /mnt/data/home/42620-39416.cloudwaysapps.com/mdtenufzuu/public_html/wp-content/plugins/post-pay-counter/classes/ppc_counting_stuff_class.php on line 433
( ! ) Error: Access to undeclared static property: PPC_counting_stuff::$words_counting_system_data in /mnt/data/home/42620-39416.cloudwaysapps.com/mdtenufzuu/public_html/wp-content/plugins/post-pay-counter/classes/ppc_counting_stuff_class.php on line 433
Call Stack
# Time Memory Function Location
1 0.0001 372352 {main}( ) …/post.php:0
2 0.0613 7519760 include( ‘/mnt/data/home/42620-39416.cloudwaysapps.com/mdtenufzuu/public_html/wp-admin/edit-form-advanced.php’ ) …/post.php:173
3 0.0893 7760160 do_meta_boxes( ) …/edit-form-advanced.php:686
4 0.1073 8061472 PPCP_meta_boxes::post_page_metabox( ) …/template.php:1037
5 0.1085 8182672 PPC_generate_stats::produce_stats( ) …/ppcp_meta_boxes_class.php:547
6 0.1115 8212576 PPC_counting_stuff::data2cash( ) …/ppc_generate_stats_class.php:50
7 0.1119 8214544 PPC_counting_stuff::get_post_payment( ) …/ppc_counting_stuff_class.php:82
8 0.1119 8214600 PPC_counting_stuff::get_countings_payment( ) …/ppc_counting_stuff_class.php:321
9 0.1119 8215032 PPC_counting_stuff::words_payment( ) …/ppc_counting_stuff_class.php:365April 1, 2016 at 1:38 am #50470Alma
GuestAnd just to add, we have tested this with the just ppc activated, all other plugins inactive and the error remains.
April 1, 2016 at 7:50 pm #50474Stefano
KeymasterHi Alma,
thanks for reporting. Could you do a test for me?
Download this file, unzip it and replace the file you find in post-pay-counter/classes and see if anything changes. You should probably still get an error, but I’m interested in knowing if it will change from the current one ๐Have a nice day,
StefanoApril 4, 2016 at 3:52 pm #50494Alma
GuestHi Stefano. That appears to have fixed it ๐ Do you think it’s safe to use that fix if I move my site over to php 7 now or wait for the official plugin update?
April 4, 2016 at 4:08 pm #50495Stefano
KeymasterGreat to know!
As long as you don’t enable other payment criteria, but only have the words one, you can upgrade. I’d advise to wait a couple of days the official release (between today and tomorrow) and then upgrade ๐Have a nice day,
StefanoApril 11, 2016 at 4:50 pm #50542Alma
GuestThank you for the update, the new version works a charm now ๐
April 11, 2016 at 7:16 pm #50544Stefano
KeymasterGreat to know! ๐
Also, I hope the redirects after updating โ Too many redirects issue has been fixed as well ๐
Have a nice day,
StefanoApril 11, 2016 at 9:49 pm #50549Alma
Guestlol I didn’t think you would have remembered. But yes, this time we didn’t get an error ๐
April 12, 2016 at 6:08 am #50553Stefano
KeymasterGood, I’m glad to know ๐
-
AuthorPosts
- The topic ‘Does not work with php 7?’ is closed to new replies.