Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Many PHP Warnings

Featured Replies

I've just been looking at my logfiles and I find that there many warnings/errors which appear to be related to PHP:

Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte11h - assumed 'byte11h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte10h - assumed 'byte10h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte9h - assumed 'byte9h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte8h - assumed 'byte8h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte15h - assumed 'byte15h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 663
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte14h - assumed 'byte14h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 663
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte13h - assumed 'byte13h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 663
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte12h - assumed 'byte12h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 663
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant ID_MODEL - assumed 'ID_MODEL' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 470
Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant SERIAL_SHORT - assumed 'SERIAL_SHORT' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 470

and

Apr 26 23:16:48 Tower root: error: /plugins/dynamix.system.temp/include/SystemTemp.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /plugins/preclear.disk/Preclear.php: wrong csrf_token
Apr 26 23:16:58 Tower root: error: /plugins/dynamix.system.temp/include/SystemTemp.php: wrong csrf_token
Apr 26 23:17:00 Tower root: error: /plugins/preclear.disk/Preclear.php: wrong csrf_token
Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:04 Tower root: error: /plugins/preclear.disk/Preclear.php: wrong csrf_token
Apr 26 23:17:04 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:04 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:04 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:04 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token
Apr 26 23:17:05 Tower root: error: /plugins/preclear.disk/Preclear.php: wrong csrf_token
Apr 26 23:17:06 Tower root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

Can anyone suggest what might be causing theses and how to eliminate any problems?

Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte11h - assumed 'byte11h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662

Preclear plugin requires an update to silence these errors.  But, the only reason you're seeing them is because in the tips & tweaks plugin you've enabled show PHP warnings.

Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token

https://lime-technology.com/forums/topic/46802-faq-for-unraid-v6/?page=2&tab=comments#comment-545988

 

  • Author

Thanks for the response!

 

42 minutes ago, Squid said:

Apr 26 21:13:32 Tower rc.diskinfo[13397]: PHP Warning: Use of undefined constant byte11h - assumed 'byte11h' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 662

Preclear plugin requires an update to silence these errors.  But, the only reason you're seeing them is because in the tips & tweaks plugin you've enabled show PHP warnings.

 

 

Strange - I already have Preclear 2018.04.27 installed.  Is there another one?

 

44 minutes ago, Squid said:

 


Apr 26 23:17:01 Tower root: error: /webGui/include/DeviceList.php: wrong csrf_token

https://lime-technology.com/forums/topic/46802-faq-for-unraid-v6/?page=2&tab=comments#comment-545988

 

 

I'm not aware of another browser window/tab being open, but would this also occur if the server spontaneously rebooted itself while a single browser tab is open.

8 minutes ago, PeterB said:

Strange - I already have Preclear 2018.04.27 installed.  Is there another one?

 

May need a reboot.  If that doesn't clear it up, then the author still has more work to do to silence them

 

8 minutes ago, PeterB said:

but would this also occur if the server spontaneously rebooted itself while a single browser tab is open

yes.  Until you refresh the browser

Edited by Squid

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.