Warning: Use of undefined constant sortingFunction - assumed 'sortingFunction' (this will throw an Error in a future version of PHP) in /var/www/html/vnstat2/includes/vnstat.php on line 136
I have fixed it using apostrophes around 'sortingFunction'.
But I am not sure if I am right.
And I am anxious about the "this will throw an Error in a future version of PHP".
There is warning as below:
Warning: Use of undefined constant sortingFunction - assumed 'sortingFunction' (this will throw an Error in a future version of PHP) in /var/www/html/vnstat2/includes/vnstat.php on line 136
I have fixed it using apostrophes around 'sortingFunction'. But I am not sure if I am right. And I am anxious about the "this will throw an Error in a future version of PHP".