• Resolved lotoazul11

    (@lotoazul11)


    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(): https:// 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(https://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 to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • 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

    (@ankitmaru)

    Hello @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.

    Thanks!
    Great Job!
    Giulia

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘PHP errors’ is closed to new replies.