Post Pay Counter

The best way to pay authors on WordPress

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

Error Code with Google Analytics

by

› Forums › Post Pay Counter PRO › Support › Error Code with Google Analytics

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 5 replies, 2 voices, and was last updated 8 years, 4 months ago by Stefano.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 8, 2016 at 7:04 am #53634
    Johanne Britton
    Guest

    Hello,

    I just purchased the pro version and added my Google Analytics with it. It gives me an error message but I cannot seem to find the error.

    Fatal error: Call to undefined function array_column() in /home/mobtreal/public_html/wp-content/plugins/post-pay-counter/classes/ppc_error_class.php on line 101

    Here is line 101

    $key = array_search( $args[‘error_code’], array_column( $errors, ‘code’ ) );

    Here is the full code so you can check what the problem is.

    ——

    ——

    Thank you very much

    Cheers

    Jo

    December 8, 2016 at 8:47 am #53637
    Stefano
    Keymaster

    Hi Johanne,
    the issue is due to the fact that your server runs an outdated PHP version (less than PHP 5.5). Since you are not the first to experience the issue, I have just released a public fix that should address the problem. Just update Post Pay Counter through your plugins page and you should be fine 🙂

    Have a nice day,
    Stefano

    December 12, 2016 at 10:24 pm #53677
    Somayah Aezah
    Guest

    I have the same problem, here’s my error codes:

    View post on imgur.com

    Here’s my PHP version
    http://i.imgur.com/SctVucb.png (5.5.33)

    December 13, 2016 at 4:10 pm #53681
    Stefano
    Keymaster

    Hi Somayah,
    what does your Error Log box display?

    Have a nice day,
    Stefano

    December 31, 2016 at 1:28 am #53830
    Joe
    Guest

    I’m having the same problem:

    Warning: array_column() expects parameter 1 to be array, string given in /var/sites/t/the72.co.uk/public_html/wp-content/plugins/post-pay-counter/classes/ppc_error_class.php on line 101

    However, I’m running versions 2.705 and 1.6.8.1 which are both up to date versions of the standard and PRO plugin.

    Any advice?

    Joe

    December 31, 2016 at 9:00 am #53833
    Stefano
    Keymaster

    Hi Joe,
    I have just released Post Pay Counter 2.706 which should fix this issue as well 🙂

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Error Code with Google Analytics’ 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