When I goto the admin/config/content/scheduler and hit save, I get the following:
Date format cannot be longer than 20 characters but is currently 21 characters long.
Default time cannot be longer than 20 characters but is currently 22 characters long.
Notice: Use of undefined constant SCHEDULER_DATE_FORMAT - assumed 'SCHEDULER_DATE_FORMAT' in scheduler_admin() (line 12 of modules/all/scheduler/scheduler.admin.inc).
Notice: Use of undefined constant SCHEDULER_DATE_FORMAT - assumed 'SCHEDULER_DATE_FORMAT' in scheduler_admin() (line 16 of modules/all/scheduler/scheduler.admin.inc).
Notice: Use of undefined constant SCHEDULER_DATE_LETTERS - assumed 'SCHEDULER_DATE_LETTERS' in scheduler_admin() (line 22 of modules/all/scheduler/scheduler.admin.inc).
Notice: Use of undefined constant SCHEDULER_TIME_LETTERS - assumed 'SCHEDULER_TIME_LETTERS' in scheduler_admin() (line 23 of modules/all/scheduler/scheduler.admin.inc).
Notice: Use of undefined constant SCHEDULER_DEFAULT_TIME - assumed 'SCHEDULER_DEFAULT_TIME' in scheduler_admin() (line 84 of modules/all/scheduler/scheduler.admin.inc).
Comments
Comment #2
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedHi SocialNicheGuru,
Thanks for reporting this, sorry you are having a problem. This is a strange bug, because it works fine for me (obviously) - an error such as missing constants would be impossible to ignore. I have changed the title, as the message is simply counting the string length of the contant name, which becomes the assumed value.
So, we need to find out why your constants are not being defined. Some questions:
It must be something to do with your environment / set-up / othe modules, as there is nothing directly wrong with the definition of these constants in the code.
Jonathan
Comment #3
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedClosing this as no response in two months.