Class 'Varien_Data_Form_Element_Datetime' not foundFix for Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry?Fatal error: Call to a member function extend() on a non-object in /home/stevenst/public_html/upgrade/lib/Varien/Simplexml/Config.php on line 600Fatal error: Class 'Zend_Log' not found in CheckoutCategories error in Varien Data Tree DB classFatal error: Class 'Mage_Inspiresettings_Helper_Data' not found Tried a lot, but still the error comesPHP Fatal error: Class 'Aschroder_SMTPPro_Model_Mysql4_Setup' not foundSQLSTATE[HY000] : General error: 2013 Lost connection to MySQL server during query in MagentoCode Issue i think -Warning: include(Mage/Core/Model/App.php)Magento 1.9 blank search page: Fatal error with getEntityTablePrefix() in EAV: Attribute/Abstract.phpGetting Fatal error: Class 'IntlDateFormatter' not found in Magento2

The deliberate use of misleading terminology

Possible nonclassical ion from a bicyclic system

Is there an explanation for Austria's Freedom Party virtually retaining its vote share despite recent scandal?

Is this light switch installation safe and legal?

What is the 中 in ダウンロード中?

How can I prevent interns from being expendable?

Term for checking piece whose opponent daren't capture it

Beginner's snake game using PyGame

How can I offer a test ride while selling a bike?

find the Integer value after a string from a file

count number of files in directory with a certain name

Adding strings in lists together

Why would Lupin kill Pettigrew?

Can a rogue effectively triple their speed by combining Dash and Ready?

chmod would set file permission to 000 no matter what permission i try to set

How to properly maintain eye contact with people that have distinctive facial features?

Do creatures all have the same statistics upon being reanimated via the Animate Dead spell?

Can a wire having a 610-670 THz (frequency of blue light) AC frequency supply, generate blue light?

Are UK pensions taxed twice?

My player wants to cast multiple charges of magic missile from a wand

Can a non-EU citizen travel within the Schengen area without identity documents?

What are the problems in teaching guitar via Skype?

Fastest way to perform complex search on pandas dataframe

What's the most polite way to tell a manager "shut up and let me work"?



Class 'Varien_Data_Form_Element_Datetime' not found


Fix for Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry?Fatal error: Call to a member function extend() on a non-object in /home/stevenst/public_html/upgrade/lib/Varien/Simplexml/Config.php on line 600Fatal error: Class 'Zend_Log' not found in CheckoutCategories error in Varien Data Tree DB classFatal error: Class 'Mage_Inspiresettings_Helper_Data' not found Tried a lot, but still the error comesPHP Fatal error: Class 'Aschroder_SMTPPro_Model_Mysql4_Setup' not foundSQLSTATE[HY000] : General error: 2013 Lost connection to MySQL server during query in MagentoCode Issue i think -Warning: include(Mage/Core/Model/App.php)Magento 1.9 blank search page: Fatal error with getEntityTablePrefix() in EAV: Attribute/Abstract.phpGetting Fatal error: Class 'IntlDateFormatter' not found in Magento2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















when trying to edit a product in admin I suddenly got this error:




PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146




I tried to google it but was unable to find a resolution.










share|improve this question






























    0















    when trying to edit a product in admin I suddenly got this error:




    PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
    in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146




    I tried to google it but was unable to find a resolution.










    share|improve this question


























      0












      0








      0








      when trying to edit a product in admin I suddenly got this error:




      PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
      in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146




      I tried to google it but was unable to find a resolution.










      share|improve this question
















      when trying to edit a product in admin I suddenly got this error:




      PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
      in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146




      I tried to google it but was unable to find a resolution.







      magento-1 catalog fatal-error






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 22 '17 at 12:20









      Gopal Patel

      2,8892930




      2,8892930










      asked Feb 22 '17 at 12:03









      manga222manga222

      1




      1




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php



          <?php
          /**
          * Magento
          *
          * NOTICE OF LICENSE
          *
          * This source file is subject to the Open Software License (OSL 3.0)
          * that is bundled with this package in the file LICENSE.txt.
          * It is also available through the world-wide-web at this URL:
          * http://opensource.org/licenses/osl-3.0.php
          * If you did not receive a copy of the license and are unable to
          * obtain it through the world-wide-web, please send an email
          * to license@magento.com so we can send you a copy immediately.
          *
          * DISCLAIMER
          *
          * Do not edit or add to this file if you wish to upgrade Magento to newer
          * versions in the future. If you wish to customize Magento for your
          * needs please refer to http://www.magento.com for more information.
          *
          * @category Varien
          * @package Varien_Data
          * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
          * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
          */

          /**
          * Varien data selector form element
          *
          * @category Varien
          * @package Varien_Data
          * @author Magento Core Team <core@magentocommerce.com>
          */
          class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date








          share|improve this answer






























            0














            Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php does exists in your code base.



            Here is the link for latest Datetime.php. You can create a new file and place that code in it.



            But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161270%2fclass-varien-data-form-element-datetime-not-found%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php



              <?php
              /**
              * Magento
              *
              * NOTICE OF LICENSE
              *
              * This source file is subject to the Open Software License (OSL 3.0)
              * that is bundled with this package in the file LICENSE.txt.
              * It is also available through the world-wide-web at this URL:
              * http://opensource.org/licenses/osl-3.0.php
              * If you did not receive a copy of the license and are unable to
              * obtain it through the world-wide-web, please send an email
              * to license@magento.com so we can send you a copy immediately.
              *
              * DISCLAIMER
              *
              * Do not edit or add to this file if you wish to upgrade Magento to newer
              * versions in the future. If you wish to customize Magento for your
              * needs please refer to http://www.magento.com for more information.
              *
              * @category Varien
              * @package Varien_Data
              * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
              * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
              */

              /**
              * Varien data selector form element
              *
              * @category Varien
              * @package Varien_Data
              * @author Magento Core Team <core@magentocommerce.com>
              */
              class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date








              share|improve this answer



























                0














                Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php



                <?php
                /**
                * Magento
                *
                * NOTICE OF LICENSE
                *
                * This source file is subject to the Open Software License (OSL 3.0)
                * that is bundled with this package in the file LICENSE.txt.
                * It is also available through the world-wide-web at this URL:
                * http://opensource.org/licenses/osl-3.0.php
                * If you did not receive a copy of the license and are unable to
                * obtain it through the world-wide-web, please send an email
                * to license@magento.com so we can send you a copy immediately.
                *
                * DISCLAIMER
                *
                * Do not edit or add to this file if you wish to upgrade Magento to newer
                * versions in the future. If you wish to customize Magento for your
                * needs please refer to http://www.magento.com for more information.
                *
                * @category Varien
                * @package Varien_Data
                * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                */

                /**
                * Varien data selector form element
                *
                * @category Varien
                * @package Varien_Data
                * @author Magento Core Team <core@magentocommerce.com>
                */
                class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date








                share|improve this answer

























                  0












                  0








                  0







                  Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php



                  <?php
                  /**
                  * Magento
                  *
                  * NOTICE OF LICENSE
                  *
                  * This source file is subject to the Open Software License (OSL 3.0)
                  * that is bundled with this package in the file LICENSE.txt.
                  * It is also available through the world-wide-web at this URL:
                  * http://opensource.org/licenses/osl-3.0.php
                  * If you did not receive a copy of the license and are unable to
                  * obtain it through the world-wide-web, please send an email
                  * to license@magento.com so we can send you a copy immediately.
                  *
                  * DISCLAIMER
                  *
                  * Do not edit or add to this file if you wish to upgrade Magento to newer
                  * versions in the future. If you wish to customize Magento for your
                  * needs please refer to http://www.magento.com for more information.
                  *
                  * @category Varien
                  * @package Varien_Data
                  * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                  */

                  /**
                  * Varien data selector form element
                  *
                  * @category Varien
                  * @package Varien_Data
                  * @author Magento Core Team <core@magentocommerce.com>
                  */
                  class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date








                  share|improve this answer













                  Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php



                  <?php
                  /**
                  * Magento
                  *
                  * NOTICE OF LICENSE
                  *
                  * This source file is subject to the Open Software License (OSL 3.0)
                  * that is bundled with this package in the file LICENSE.txt.
                  * It is also available through the world-wide-web at this URL:
                  * http://opensource.org/licenses/osl-3.0.php
                  * If you did not receive a copy of the license and are unable to
                  * obtain it through the world-wide-web, please send an email
                  * to license@magento.com so we can send you a copy immediately.
                  *
                  * DISCLAIMER
                  *
                  * Do not edit or add to this file if you wish to upgrade Magento to newer
                  * versions in the future. If you wish to customize Magento for your
                  * needs please refer to http://www.magento.com for more information.
                  *
                  * @category Varien
                  * @package Varien_Data
                  * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                  */

                  /**
                  * Varien data selector form element
                  *
                  * @category Varien
                  * @package Varien_Data
                  * @author Magento Core Team <core@magentocommerce.com>
                  */
                  class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date









                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 22 '17 at 12:10









                  Jelle SideriusJelle Siderius

                  159113




                  159113























                      0














                      Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php does exists in your code base.



                      Here is the link for latest Datetime.php. You can create a new file and place that code in it.



                      But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.






                      share|improve this answer



























                        0














                        Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php does exists in your code base.



                        Here is the link for latest Datetime.php. You can create a new file and place that code in it.



                        But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.






                        share|improve this answer

























                          0












                          0








                          0







                          Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php does exists in your code base.



                          Here is the link for latest Datetime.php. You can create a new file and place that code in it.



                          But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.






                          share|improve this answer













                          Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php does exists in your code base.



                          Here is the link for latest Datetime.php. You can create a new file and place that code in it.



                          But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 22 '17 at 12:24









                          Rajeev K TomyRajeev K Tomy

                          14.6k54591




                          14.6k54591



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161270%2fclass-varien-data-form-element-datetime-not-found%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                              Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                              Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림