• I had been using Types for a while without issues, but started seeing the following error after updating to version 1.6 (with the latest WordPress version installed).

    Error happens when i click “New Post”.

    Fatal error: Declaration of FormFactory::createForm() must be compatible with that of FormAbstract::createForm() in /home4/MY WEBSITE/wp-content/plugins/types/embedded/common/toolset-forms/classes/class.form_factory.php on line 20

    It also happened on yet ANOTHER website i run, so it’s not just one.

    As soon as i deactivate the plugin, my sites work just fine.

    The newest version seems to have introduced something funky….
    Thanks

    https://www.ads-software.com/plugins/types/

Viewing 15 replies - 16 through 30 (of 31 total)
  • Changing line 147 did not solve the issue for me. I still get the same error. In the message below you can see that it’s referencing line 20.

    Declaration of FormFactory::createForm() must be compatible with that of FormAbstract::createForm() in /[path removed for security]/types/embedded/common/toolset-forms/classes/class.form_factory.php on line 20

    Thread Starter Diablo2

    (@diablo2)

    StoneColdMagic, did you by any chance reverse (undo) the changes suggested in line 130 before modifying line 147? In my case, I changed both without undoing them back to their original state.

    It worked when both lines : 130 and 147 are changed.

    Thank you.

    I don’t see anywhere in the thread where it was said to change 130, just 147.

    However, based on your comment, I just changed both, and it worked.

    Thanks!

    Jeff

    Works for me too, but on custom post types with a WYSIWYG editor, I see this:

    Parse error: syntax error, unexpected T_FUNCTION in public_html/wp-content/plugins/types/embedded/common/toolset-forms/classes/class.wysiwyg.php on line 44

    I just noticed another problem . . .

    The calendar picker is no longer working when I create a new post.

    Same issues here, I’ve reverted to 1.5.7 until there’s a real fix for this, hopefully soon!

    Same issues. Changing lines 130 & 147 fixed part of it, but WYSIWYGs still do not work. Everything seems to be working properly on the front end.

    Same problem. Reverted to previous version.

    Yep – I’m on 1.5.7 until the next update. I love this plugin! I’ll be patient. ??

    Plugin Contributor brucepearson

    (@brucepearson)

    We’re updated the plugin to resolve this problem.

    Please test again with Types 1.6.1

    @bruce – Thanks! It works great. Thanks again for such an awesome plugin and for super fast tech support!

    Big Fan,

    Jeffro

    You guys ROCK, all fixed!

    I am having a similar problem with my site but this may be the wrong thread to post (I’m also a novice at WordPress). But I can’t edit info on our project pages at FazioArchitects.com, and I get this message

    “Fatal error: Declaration of FormFactory::createForm() must be compatible with that of FormAbstract::createForm() in /home/faziacom/public_html/wp-content/plugins/types/embedded/common/toolset-forms/classes/class.form_factory.php on line 20”

    Any ideas? Thanks.

    Appears to be resolved, thanks Bruce!

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Fatal Error After Latest Update’ is closed to new replies.