webgrind icon indicating copy to clipboard operation
webgrind copied to clipboard

Output is not displayed when selecting cachegrind file

Open khrizt opened this issue 1 year ago • 1 comments

Hi,

I've configured everything and it looks it works ok, the cachegrind file is generated the file appears in the select on top of the page and when selecting the file and clicking on update the request return a json array with all the data.

The problem is that this information is not displayed in the webpage and no error appear neither in the console nor the error log.

Is there something I did wrong? How can I display the information?

Thanks

khrizt avatar Aug 29 '24 11:08 khrizt

If you're using PHP 8.3, I had this issue after upgrading from PHP 8.1 which was working fine.

I checked my error_log file and got the below when clicking the "update" button

[14-Oct-2024 10:41:22 UTC] PHP Deprecated:  Creation of dynamic property Webgrind_FileHandler::$files is deprecated in /path/to/webgrind/library/FileHandler.php on line 45
[14-Oct-2024 10:41:22 UTC] PHP Deprecated:  Creation of dynamic property Webgrind_Reader::$fp is deprecated in /path/to/webgrind/library/Reader.php on line 71

It seems there's already a PR to partially fix this #181

If you make those changes yourself and try again, it may work for you if it's the same issue

nhunt290 avatar Oct 14 '24 10:10 nhunt290