Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Pete T Posted November 7, 2018 Posted November 7, 2018 Ok this first time i have personal hit this problem around server time but when i need run IN_DEV i get this error. Whoops\Exception\ErrorException: A non well formed numeric value encountered (8) #0 [internal function]: Whoops\Run->handleError(8, 'A non well form...', '/home/wkvvrueq/...', 35, Array) #1 /home/wkvvrueq/public_html/system/DateTime/DateTime.php(35): DateTime->setTimestamp('07/27/2018') #2 /home/wkvvrueq/public_html/system/Theme/Theme.php(4319) : eval()'d code(28): IPS\_DateTime::ts('07/27/2018') #3 /home/wkvvrueq/public_html/system/Theme/Dev/Template.php(171): IPS\Theme\theme_core_admin_global_updatebadge('2.0.7', 'https://invisio...', '07/27/2018') #4 /home/wkvvrueq/public_html/system/Plugin/Plugin.php(470): IPS\Theme\Dev\_Template->__call('updatebadge', Array) #5 /home/wkvvrueq/public_html/system/Patterns/ActiveRecord.php(307): IPS\_Plugin->get__badge() #6 /home/wkvvrueq/public_html/system/Node/Controller.php(222): IPS\Patterns\_ActiveRecord->__get('_badge') #7 /home/wkvvrueq/public_html/system/Node/Controller.php(106): IPS\Node\_Controller->_getRow(44) #8 [internal function]: IPS\Node\_Controller->_getRoots(NULL) #9 /home/wkvvrueq/public_html/system/Helpers/Tree/Tree.php(127): call_user_func(Array, NULL) #10 /home/wkvvrueq/public_html/system/Node/Controller.php(92): IPS\Helpers\Tree\_Tree->__toString() #11 /home/wkvvrueq/public_html/applications/core/modules/admin/applications/plugins.php(65): IPS\Node\_Controller->manage() #12 /home/wkvvrueq/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\admin\applications\_plugins->manage() #13 /home/wkvvrueq/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #14 /home/wkvvrueq/public_html/applications/core/modules/admin/applications/plugins.php(38): IPS\Node\_Controller->execute() #15 /home/wkvvrueq/public_html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\admin\applications\_plugins->execute() #16 /home/wkvvrueq/public_html/admin/index.php(14): IPS\_Dispatcher->run() #17 {main} So this due to time change here in the UK time going back one hour unsure why only effect the IN_DEV so any one have any idea what could be making this flag up i be happy with any ideas so fix this.
TDBF Posted November 7, 2018 Posted November 7, 2018 30 minutes ago, Pete T said: Ok this first time i have personal hit this problem around server time but when i need run IN_DEV i get this error. Whoops\Exception\ErrorException: A non well formed numeric value encountered (8) #0 [internal function]: Whoops\Run->handleError(8, 'A non well form...', '/home/wkvvrueq/...', 35, Array) #1 /home/wkvvrueq/public_html/system/DateTime/DateTime.php(35): DateTime->setTimestamp('07/27/2018') #2 /home/wkvvrueq/public_html/system/Theme/Theme.php(4319) : eval()'d code(28): IPS\_DateTime::ts('07/27/2018') #3 /home/wkvvrueq/public_html/system/Theme/Dev/Template.php(171): IPS\Theme\theme_core_admin_global_updatebadge('2.0.7', 'https://invisio...', '07/27/2018') #4 /home/wkvvrueq/public_html/system/Plugin/Plugin.php(470): IPS\Theme\Dev\_Template->__call('updatebadge', Array) #5 /home/wkvvrueq/public_html/system/Patterns/ActiveRecord.php(307): IPS\_Plugin->get__badge() #6 /home/wkvvrueq/public_html/system/Node/Controller.php(222): IPS\Patterns\_ActiveRecord->__get('_badge') #7 /home/wkvvrueq/public_html/system/Node/Controller.php(106): IPS\Node\_Controller->_getRow(44) #8 [internal function]: IPS\Node\_Controller->_getRoots(NULL) #9 /home/wkvvrueq/public_html/system/Helpers/Tree/Tree.php(127): call_user_func(Array, NULL) #10 /home/wkvvrueq/public_html/system/Node/Controller.php(92): IPS\Helpers\Tree\_Tree->__toString() #11 /home/wkvvrueq/public_html/applications/core/modules/admin/applications/plugins.php(65): IPS\Node\_Controller->manage() #12 /home/wkvvrueq/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\admin\applications\_plugins->manage() #13 /home/wkvvrueq/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #14 /home/wkvvrueq/public_html/applications/core/modules/admin/applications/plugins.php(38): IPS\Node\_Controller->execute() #15 /home/wkvvrueq/public_html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\admin\applications\_plugins->execute() #16 /home/wkvvrueq/public_html/admin/index.php(14): IPS\_Dispatcher->run() #17 {main} So this due to time change here in the UK time going back one hour unsure why only effect the IN_DEV so any one have any idea what could be making this flag up i be happy with any ideas so fix this. I would bet that one of the parameters for date and time are a String and not an INT maybe?
bfarber Posted November 7, 2018 Posted November 7, 2018 The problem is this: IPS\_DateTime::ts('07/27/2018') I expect that you have a third party application, plugin or theme which has an updatecheck URL supplied, but it is returning a date string instead of a timestamp for its 'released' value.
Pete T Posted November 7, 2018 Author Posted November 7, 2018 18 minutes ago, TDBF said: I would bet that one of the parameters for date and time are a String and not an INT maybe? i looked over nothing that could see that could effect this. 2 minutes ago, bfarber said: The problem is this: IPS\_DateTime::ts('07/27/2018') I expect that you have a third party application, plugin or theme which has an updatecheck URL supplied, but it is returning a date string instead of a timestamp for its 'released' value. that was my next port call but so far nothing as yet come to light but still looking.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.