• Hello!

    I’m doing the following:
    – Using version 1.9.1
    – Running Types embedded in my theme
    – Types plugin is not activated in Plugin-administration (since i am running it embedded)
    – I’m trying to restore a trashed post

    I get the following error:
    Fatal error: Call to undefined function wpcf_is_client() in /home/vagrant/www/wp/fjordline-fjordshopping-wordpress/webroot/wp-content/plugins/types/embedded/includes/fields-post.php on line 64

    This error does not appear when plugin is activated.
    But shouldnt the embedded version manage to run without the plugin itself being active?

    Full strack trace: https://imgur.com/d990CPP

    https://ww.wp.xz.cn/plugins/types/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    This function checks whether you are a paying Toolset member or a user of the Free Types Plugin.

    I did check the code but could not find an issue related to embedded/not embedded straight away.

    What sure is the case, your Plugin is outdated.
    Please first update it to the latest stable version available here in the Plugin’s repository.

    Still, it should not be necessary to activate the Plugin, actually, it should not be there at all.
    (In the Plugin’s list) as you carry it with the theme.

    Can you please head over to our Free Types Support Forum and report this Bug there?
    This is because I will probably need access to your Site if the issue persists after updating to the current stable version.

    It might be that the embedded version is not correctly called by the theme.

    Thread Starter Robert S.

    (@robsat91)

    Hello!

    Thank you for your candid answer!
    I will definitely look more into it on my side.

    But, on the topic of embed-folder placement and not having Types installed as a plugin, we use composer to pull in and update our plugins. If we copy the embed-folder from the Types-folder into the theme we loose the benefits of automatic updates with composer. Therefore running Types embedded directly from the plugin directory is the best solution for us.

    More on this topic here for more details 🙂

    Again, thank you.

    Anonymous User 14808221

    (@anonymized-14808221)

    Please check this with the Types version 2.0.1
    We changed the way how types switch to the embedded mode.
    Just taking the “embedded” folder will not work, you need to use the whole plugin but add an “embedded.lock” file to the main plugin directory.

    That should work, wherever the plugin is placed
    Please let me know the resutls

    Thread Starter Robert S.

    (@robsat91)

    Hello again!
    Thanks.

    I am not a paying client, i only use the free version of Types Toolset.
    Usually i start out using the plugin like normal and then migrate to an embedded setup when pushing live. But i can see that the embedded-folder is not present in 2.0 an up.
    Therefore most of our sites break updating :S

    If i want to run Types embedded as i did earlier but with version 2.0.1 and up, how do i do this? Do i have to be an affiliate/paying client? Or will i have to stick with the < 2.0 version to make it work?

    Anonymous User 14808221

    (@anonymized-14808221)

    Currently to create embedded themes, it requires you to have a full license of Toolset to create the development site.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Call to undefined function wpcf_is_client – Types embedded’ is closed to new replies.