• Resolved Ronald Heijnes

    (@dolomite)


    Hi,
    I get errors and I am not sure what it means:

    “[10-Nov-2022 18:52:48 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/g6gef0o/public_html/wp-content/plugins/burst-statistics//helpers/php-user-agent/UserAgentParser.php’ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/worldof8/public_html/burst-statistics-endpoint.php:7”

    “[10-Nov-2022 18:52:48 UTC] PHP Warning: require_once(/home/g6gef0o/public_html/wp-content/plugins/burst-statistics//helpers/php-user-agent/UserAgentParser.php): Failed to open stream: No such file or directory in /home/worldof8/public_html/burst-statistics-endpoint.php on line 7”

    I do see a double slash before “helpers”. Can that be the problem and can I solve it myself?
    Link to the website: https://www.worldofwp.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Hessel de Jong

    (@hesseldejong)

    Hi @dolomite,

    It looks like the endpoint does not work properly. Fortunately Burst falls back on the REST API, if the endpoint does not work. So I hope the statistics are still being tracked.

    As for the solving the error, you could try and change it. The file is located in the public_html and is named burst-statistics-endpoint.php.
    The tracking.php file could possibly also have a double slash, so you should change that as well.

    Hope this helps. If not don’t hesitate to reach out, we’re happy to help.

    Kind regards,
    Hessel

    Thread Starter Ronald Heijnes

    (@dolomite)

    Hi Hessel,
    The statistics were still tracked.
    Looks like the problem is solved by changing the double slashes. Something to add in the next update?
    Thanks!
    Ronald

    Thread Starter Ronald Heijnes

    (@dolomite)

    I do however still get the Critical error on https://www.worldofwp.com/burst-statistics-endpoint.php

    Thread Starter Ronald Heijnes

    (@dolomite)

    This is the error when I debug:
    “Fatal error: Uncaught Error: Failed opening required ‘/home/g6gef0o/public_html/wp-content/plugins/burst-statistics/helpers/php-user-agent/UserAgentParser.php’ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/worldof8/public_html/burst-statistics-endpoint.php:7 Stack trace: #0 {main} thrown in /home/worldof8/public_html/burst-statistics-endpoint.php on line 7”

    Plugin Author Hessel de Jong

    (@hesseldejong)

    Hi Ronald,

    We will definitely fix the double slashes problem for the next update.

    As for the error, can you check if the file actually exists?

    If the file is there could you tell us what the file permissions are?

    Kind regards,
    Hessel

    Thread Starter Ronald Heijnes

    (@dolomite)

    Hi Hessel,
    The file exists. Rights are set to 0755.
    Regards,
    Ronald

    Plugin Author Hessel de Jong

    (@hesseldejong)

    Hi Ronald,

    Thanks for the information. I worked on a fix, that should solve your issue.

    Could you download and install this version from our Github: https://github.com/Really-Simple-Plugins/burst/tree/1.2.31-beacon-url-fix

    Before installing please delete the ‘burst-statistics-endpoint.php’ file from the root.

    Let me know if this solves your issue.

    Kind regards,
    Hessel

    Thread Starter Ronald Heijnes

    (@dolomite)

    Hi Hessel,

    This solves the issue, no errors anymore in debug mode or in the error.log!

    Thanks!

    Ronald

    Plugin Author Hessel de Jong

    (@hesseldejong)

    Awesome @dolomite! Thanks for letting us know. This will be updated in the next release.

    Kind regards,
    Hessel

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Tracking error’ is closed to new replies.