• When using PHP 8.0.1 metrics does not show at dashboard and this plugin causes PHP Warnings and Fatal Errors, see below:

    PHP Warning:  The magic method Metrics_Query_Manager::__wakeup() must have public visibility in .../wp-content/plugins/metrics-query/gadwp.php on line 77
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 539
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 569
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 601
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 635
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 670
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 729
    PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 769
    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in .../wp-content/plugins/metrics-query/tools/src/Deconf/Utils.php on line 65
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author yehudah

    (@yehudah)

    Hi,

    Sorry for the delay.

    When do you see these errors? what action or page?

    Plugin Author yehudah

    (@yehudah)

    Sorry marked as resolved by mistake, please ignore and lets solve this.

    Hi,

    I’m getting the exact same errors with php 8.

    When adding the access code: https://streamable.com/n6ql15

    Plugin Author yehudah

    (@yehudah)

    Just released an update, please check.

    Thank you.

    All works fine now.

    Thread Starter kudlav

    (@kudlav)

    Hi,
    thanks for the update. Now it works but still getting following deprecation in log when visiting dashboard from fronted using top-left button with page name:

    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 539
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 569
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 601
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 635
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 670
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 729
    [05-May-2021 20:08:07 UTC] PHP Deprecated:  Required parameter $metric follows optional parameter $filter in .../wp-content/plugins/metrics-query/tools/gapi.php on line 769
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Incompatible with PHP 8’ is closed to new replies.