Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support

Does not work with php 7?

by

› 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, 1 month ago by Stefano.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 1, 2016 at 1:38 am #50469
    Alma
    Guest

    We 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:365

    April 1, 2016 at 1:38 am #50470
    Alma
    Guest

    And 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 #50474
    Stefano
    Keymaster

    Hi 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,
    Stefano

    April 4, 2016 at 3:52 pm #50494
    Alma
    Guest

    Hi 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 #50495
    Stefano
    Keymaster

    Great 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,
    Stefano

    April 11, 2016 at 4:50 pm #50542
    Alma
    Guest

    Thank you for the update, the new version works a charm now ๐Ÿ™‚

    April 11, 2016 at 7:16 pm #50544
    Stefano
    Keymaster

    Great to know! ๐Ÿ™‚

    Also, I hope the redirects after updating โ€“ Too many redirects issue has been fixed as well ๐Ÿ™‚

    Have a nice day,
    Stefano

    April 11, 2016 at 9:49 pm #50549
    Alma
    Guest

    lol 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 #50553
    Stefano
    Keymaster

    Good, I’m glad to know ๐Ÿ™‚

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Does not work with php 7?’ is closed to new replies.

Your cart

Number of items in cart: 0

  • Your cart is empty.
  • Total: €0.00
  • Checkout

What are you looking for?

BEFORE POSTING

Before posting, please please please do have a look at our Documentation section. Your problem may be addressed there, allowing you to solve it without help from us :)

Copyright © 2025 ยท Centric Theme on Genesis Framework ยท WordPress ยท Log in