We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    All of a sudden I am getting the following parse error:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	mktime() expects parameter 5 to be long, string given	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/home/user/public_html/dev/manager/includes/document.parser.class.inc.php(769) : eval()'d code	 
      Line: 	147	 
     
    Parser timing
      MySQL: 	0.0157 s	(47 Requests)
      PHP: 	0.1085 s	 
      Total: 	0.1242 s


    The only thing that has changed is that I re-uploaded the sql database from a backup I had. Does anyone know what would cause this? it is only happening on about 10 documents (out of 200)



    I just found out a specific snippet is causing this, don’t know why since it was working fine before the upload of sql. will have to just disable it.