• Resolved Rory01

    (@rory01)


    Hi Pixelbart,

    I have installed the plugin and all the setting are right i think but i am getting an error when clicking on a button (pro or Con) “Sorry, an error has occurred.”

    I don’t know what type of error it is, but maybe you can help me?

    Looking forward to your reply.

    Kind Regards
    Rory

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    Hi @rory01,

    I think the mistake is related to auto-optimizing. You can summarize and minify the javascript files. This works well in the rarest cases and Helpful also has problems with it.

    The console (F12 in Google Chrome) also displays errors regarding Auto-Optimize. The error only occurs if something in Javascript doesn’t work, then Helpful can’t save something because it doesn’t work for Helpful.

    There’s not much I can do about that. This is also written by all plugins that offer such functions.

    Plugin Author Pixelbart

    (@pixelbart)

    @rory01 I have seen that no cookies are set. Maybe one of your plugins is blocking cookies? Helpful needs cookies to know if a user has already voted.

    This is DSGVO (GDPR) compliant as no IP address is stored.

    Thread Starter Rory01

    (@rory01)

    Hi Pixelbart,

    Thank you for your quick reply!

    I will look in to Autoptimiz and the cookie problem. Maybe i can leave the .JS out of the magnification.

    Kind regard
    Rory

    Hi PixelBart. Also getting this error upon installing and activating the plugin.

    
    WordPress Version: 5.2
    PHP Version: 7.2.14-1+0~20190113100657.14+jessie~1.gbpd83c69
    Helpful Version: 3.1.1
     with OceanWp and ElementorPro
    
    Not using AuthOptimize and have disabled caching to test if that was the issue.
    
    [Sat May 18 03:46:03.962442 2019] [proxy_fcgi:error] [pid 31568] [client 127.0.0.1:36394] AH01071: Got error 'PHP message: PHP Warning:  get_browser(): browscap ini directive not set in /public_html/wp-content/plugins/helpful/core/classes/Admin.class.php on line 476\n', referer: https://xxxxxxxxxxxxxxxxx/wp-admin/edit.php?post_type=helpful_feedback
    [Sat May 18 03:46:09.190480 2019] [proxy_fcgi:error] [pid 31570] [client 127.0.0.1:36404] AH01071: Got error 'PHP message: PHP Warning:  get_browser(): browscap ini directive not set in /home/xxxxxxxxxxxxxxxxx/public_html/wp-content/plugins/helpful/core/classes/Admin.class.php on line 476\n', referer: https://xxxxxxxxxxxxxxxx.com/wp-admin/admin.php?page=helpful
    [Sat May 18 03:46:12.860155 2019] [mpm_itk:warn] [pid 31571] (13)Permission denied: [client 127.0.0.1:36408] Couldn't read /home/xxxxxxxxxxxxxxxxxx/public_html/wp-admin/admin-ajax.php, closing connection., referer: https://xxxxxxxxxxxxxxxxxxxxxxx.com/wp-admin/admin.php?page=helpful&tab=detail
    [Sat May 18 03:46:17.978980 2019] [proxy_fcgi:error] [pid 31573] [client 127.0.0.1:36418] AH01071: Got error 'PHP message: PHP Warning:  get_browser(): browscap ini directive not set in /home/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxs.com/public_html/wp-content/plugins/helpful/core/classes/Admin.class.php on line 476\n', referer: https://xxxxxxxxxxxxxxxxxx.com/wp-admin/admin.php?page=helpful&tab=detail
    [Sat May 18 03:46:24.718260 2019] [proxy_fcgi:error] [pid 31575] [client 127.0.0.1:36426] AH01071: Got error 'PHP message: PHP Warning:  get_browser(): browscap ini directive not set in /home/xxxxxxxxxxxx/public_html/wp-content/plugins/helpful/core/classes/Admin.class.php on line 476\n', referer: https://xxxxxxxxxxxxxxxxxx.com/wp-admin/admin.php?page=helpful&tab=design
    
    • This reply was modified 5 years, 5 months ago by bdrinkwater. Reason: further info
    • This reply was modified 5 years, 5 months ago by bdrinkwater.
    • This reply was modified 5 years, 5 months ago by Jan Dembowski. Reason: Formatting
    Plugin Author Pixelbart

    (@pixelbart)

    @bdrinkwater

    Thanks for your feedback. get_browser() is not configured correctly on your server. The message should only appear if you set WP_DEBUG to true.

    In one of the future updates I will disable browser detection with get_browser() or add it as an option, because apparently a lot of people can’t use the PHP extension for get_browser().

    The function is not so important for Helpful, because it only tries to find the browser of the user who is sending the feedback form. This information is then normally stored. Since I didn’t want to work with third-party services in Helpful, I used the get_browser() PHP extension.

    Next time, please create your own thread here in the forum so that I will be notified. I could have answered you much faster ??

    • This reply was modified 5 years, 5 months ago by Pixelbart.
    • This reply was modified 5 years, 5 months ago by Pixelbart.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error’ is closed to new replies.