Title: PHP errors
Last modified: November 14, 2019

---

# PHP errors

 *  Resolved [lotoazul11](https://wordpress.org/support/users/lotoazul11/)
 * (@lotoazul11)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-errors-174/)
 * hi! first of all, thank you so much for this plugin, it’s exactly what i was 
   looking for, and for the most part it’s pretty easy to install and set up. i’m
   having a bit of an issue with it, though: while the counter is showing up in 
   my posts where/as i intended, i also get these two PHP errors at the top of the
   page, above my header:
 * Warning: file_get_contents(): http:// wrapper is disabled in the server configuration
   by allow_url_fopen=0 in /home/kyoudai/public_html/reverie/wp-content/plugins/
   advanced-page-visit-counter/public/class-advanced-page-visit-counter-public.php
   on line 262
 * Warning: file_get_contents([http://www.geoplugin.net/json.gp?ip=173.255.160.23](http://www.geoplugin.net/json.gp?ip=173.255.160.23)):
   failed to open stream: no suitable wrapper could be found in /home/kyoudai/public_html/
   reverie/wp-content/plugins/advanced-page-visit-counter/public/class-advanced-
   page-visit-counter-public.php on line 262
 * i tried to check the class-advanced-page-visit-counter-public.php file, but i
   think that’s a bit more involved than my middling knowledge of PHP would allow.
   any ideas as to what i can do to fix that?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-174%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/php-errors-174/?output_format=md) [1](https://wordpress.org/support/topic/php-errors-174/?output_format=md)
2

 *  [cospeonlus](https://wordpress.org/support/users/cospeonlus/)
 * (@cospeonlus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-174/page/2/#post-12279120)
 * Hello,
    I’m using elementor (with Hello Themes) and I’m having the same issue.
   I have the last update of your plug-in.
 * Warning: json_decode() expects parameter 1 to be string, array given in /web/
   htdocs/www.natourfogo.org/home/wp-content/plugins/advanced-page-visit-counter/
   public/class-advanced-page-visit-counter-public.php on line 313
 * Warning: json_decode() expects parameter 1 to be string, array given in /web/
   htdocs/www.natourfogo.org/home/wp-content/plugins/advanced-page-visit-counter/
   public/class-advanced-page-visit-counter-public.php on line 322
 * Warning: json_decode() expects parameter 1 to be string, array given in /web/
   htdocs/www.natourfogo.org/home/wp-content/plugins/advanced-page-visit-counter/
   public/class-advanced-page-visit-counter-public.php on line 346
 * Warning: json_decode() expects parameter 1 to be string, array given in /web/
   htdocs/www.natourfogo.org/home/wp-content/plugins/advanced-page-visit-counter/
   public/class-advanced-page-visit-counter-public.php on line 552
 * The plugin, it seems work in the backend.
 * Thanks
    Giulia
 *  Plugin Author [Ankit Panchal](https://wordpress.org/support/users/ankitmaru/)
 * (@ankitmaru)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-174/page/2/#post-12279225)
 * Hello [@cospeonlus](https://wordpress.org/support/users/cospeonlus/)
    We have
   fixed this issue in upcoming release next week. So please wait until the new 
   update till next week.
 * Thank you for raising the issue.
 *  [cospeonlus](https://wordpress.org/support/users/cospeonlus/)
 * (@cospeonlus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-174/page/2/#post-12279947)
 * Thanks!
    Great Job! Giulia

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/php-errors-174/?output_format=md) [1](https://wordpress.org/support/topic/php-errors-174/?output_format=md)
2

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-page-visit-counter_004aad.
   svg)
 * [Advanced Page Visit Counter – Most Wanted Analytics Plugin for WordPress](https://wordpress.org/plugins/advanced-page-visit-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-page-visit-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-page-visit-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-page-visit-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-page-visit-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-page-visit-counter/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 18 replies
 * 4 participants
 * Last reply from: [cospeonlus](https://wordpress.org/support/users/cospeonlus/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-174/page/2/#post-12279947)
 * Status: resolved