-
AuthorPosts
-
November 27, 2018 at 3:22 pm #1038030
Hello @yigit,
Thank you for your help earlier with this post
https://kriesi.at/support/topic/a-few-changes-and-edits-please/#post-1038025
The edits work on the front end, but when viewing WP-ADMIN
I get an error that says the headers have already be sent.
Can you help me?
November 27, 2018 at 5:33 pm #1038086Okay, so I have concluded that there is a problem with the
require( 'class-form-generator.php' );
when I add that to the functions file and visit the wp-admin area I get an error.
how ever if I copy and paste the new “class form generator” file into the functions file everything works perfectly.
So I just need help with including the required code into the functions file correctly.
November 27, 2018 at 5:39 pm #1038089Hi!
I am not sure if i understood “how ever if I copy and paste the new “class form generator” file into the functions file everything works perfectly” part clearly. Could you please elaborate on it?
In the meantime i will apply the same changes on my local installation and check if it throws any errorsCheers!
YigitNovember 27, 2018 at 7:16 pm #1038145Hello,
Thank you for the reply.
I basically took all of the content before the php opening from the page in which I was editing and copied the entire thing in to the functions file, in place of the require code.
So now my functions file is really large and has the entire class-form-generator.php code copied into it.
But it is working with out any header errors
November 28, 2018 at 3:28 pm #1038552Hi,
I applied the changes i recommended here – https://kriesi.at/support/topic/a-few-changes-and-edits-please/#post-1038025 on my local installation and set WP debugging mode to true but i am not receiving any errors nor warnings.
Which PHP version are you using?
Best regards,
YigitNovember 28, 2018 at 5:24 pm #1038617Ahhh that could be it, I know for sure I am running on an older version of php maybe late 5 something, early 6
I have a 15 year old hosting account with godaddy, been fighting with them about that for a while now. But I have over 300 domains with them so it’s hard to switch now
November 28, 2018 at 5:33 pm #1038622 -
AuthorPosts
- You must be logged in to reply to this topic.