Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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?

    #1038086

    Okay, 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.

    #1038089

    Hi!

    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 errors

    Cheers!
    Yigit

    #1038145

    Hello,

    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

    #1038552

    Hi,

    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,
    Yigit

    #1038617

    Ahhh 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

    #1038622

    Hi,

    I see. Well you could actually ignore the warnings and notices. Only Errors are important :)

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.