Post Pay Counter

The best way to pay authors on WordPress

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

Publisher bonus 1.3 debug error ppcp_pb_get_stats_by_posts_ids_empty_array

by

› Forums › Publisher bonus › Support › Publisher bonus 1.3 debug error ppcp_pb_get_stats_by_posts_ids_empty_array

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 10 replies, 2 voices, and was last updated 7 years, 5 months ago by Stefano.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • November 25, 2017 at 1:39 pm #59270
    George Kiselev
    Guest

    Steps:

    1. Just renewed 1.2 -> 1.3
    2. Tuned to count per char and per visit (Google Analytics tuned and works well for several months)
    3. Published by admin new post
    4. Entered in stats page
    5. Debug error appeared in log:

    25.11.2017 11:42:58
    An error was thrown with code “ppcp_pb_get_stats_by_posts_ids_empty_array”, message “Empty array input.” and debug data “array (
    )”.

    May be helpfull: published posts counts well for author, as usual. There is no counting for publisher only.

    November 25, 2017 at 3:02 pm #59279
    Stefano
    Keymaster

    Thanks for reporting, I have now silenced that particular error in the log, it will ship with the next release. It was just too verbose, but there were no real issues ๐Ÿ™‚

    Have a nice day,
    Stefano

    November 28, 2017 at 10:35 pm #59317
    George Kiselev
    Guest

    Nope, its seems that error is here.

    1. Settings: 0.03 per symbol and 0.06 per visit. Zero for base payment publishing (“incremental system”) -> paying only for text size and visits

    2. Author published one post. He must earn 230 rub per text size + 1220 per his own post = 1450 rub:

    But due pay contains payment only for his own post and nothing for publishing:

    3. Mark as paid -> more info on paying:

    There is similar as previous – no 230 for publishing.

    Comments:

    1. Its looking like I’ve payed for that particular publishing, but in fact it wasn’t.
    2. I edited this post from my admin account:

    (May be this matter, but I don’t know how to rollback)

    November 28, 2017 at 10:38 pm #59319
    George Kiselev
    Guest

    Forgotten issue about images on dropbox. Links to images:

    https://www.dropbox.com/s/9ol8vzzd16zt1dt/settings.png?dl=0

    https://www.dropbox.com/s/vc2nf275pu2soej/payinfo.png?dl=0

    https://www.dropbox.com/s/xud9t5y2n09u5v9/payinfo2.png?dl=0

    https://www.dropbox.com/s/bwsnnjh0zqwe31s/pay_mark_as_payed.png?dl=0

    https://www.dropbox.com/s/q7iucbokm99vjxa/post.png?dl=0

    November 29, 2017 at 1:56 pm #59330
    Stefano
    Keymaster

    Thanks for all the details and screenshots. Can you have a look at the payment history for that author and see if those 230 have not already been paid somehow? I will investigate further anyway. Also, can you confirm that you are running latest versions of all addons?

    Have a nice day,
    Stefano

    November 29, 2017 at 8:05 pm #59333
    George Kiselev
    Guest

    Payment history of this author:

    History

    Versions:

    Installed version: 2.734
    PRO version: 1.7.8
    Custom Email Notifications version: 1.3.2
    Pay Per Character version: 1.7
    Publisher Bonus version: 1.3

    November 29, 2017 at 8:18 pm #59335
    George Kiselev
    Guest

    It’s strange: I have another user with 1 published post and it was counted properly. May be this situation will resolved after payment?

    November 29, 2017 at 9:59 pm #59337
    George Kiselev
    Guest

    But for me (admin) publishing payment counts wrong too. May be I’ll give you access to wp-admin?

    November 29, 2017 at 11:44 pm #59339
    Stefano
    Keymaster

    Thanks, access to wp-admin could help ๐Ÿ™‚

    November 30, 2017 at 10:56 am #59342
    George
    Guest

    Have sent to support@thecrowned.org

    December 1, 2017 at 10:20 am #59358
    Stefano
    Keymaster

    Issue fixed! ๐Ÿ™‚

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Publisher bonus 1.3 debug error ppcp_pb_get_stats_by_posts_ids_empty_array’ 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