Skip Navigation

[Closed] Error After Updating to latest Types, Views, Cred & Layout

This support ticket is created 8 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 6.24 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 8 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#325723
layouts error.PNG

I updated to the latest versions of Types, Views, Cred and Layouts and got the error message you see in the screenshot.

If I rename the Layouts folder, the site recovers.

#325798

Dear dbarber,

I can not duplicate same problem with the latest version of Layouts 1.3, and I checked the source code of problem file:
\layouts\classes\wpddl.layouts.render.manager.class.php, line 69~78:

    public function prevent_CRED_duplication_content_template( $cell, $renderer ){
       /* if( isset( $_GET['cred-edit-form']) &&
            class_exists('CRED_Helper') &&
            $cell->get_cell_type() === 'cell-content-template' &&
            ( $cell->check_if_content_template_has_body_tag( ) === false ||
            $cell->get_content()['page'] == 'this_page' )
        ){
            add_filter( 'wpv_filter_wpv_render_view_template_force_suppress_filters', array(&$this, 'wpv_render_view_template_force_suppress_filters_callback' ), 8, 5 );
        }*/
    }

and the problem line 74 have been commented, which should not take any effect,

$cell->get_content()['page'] == 'this_page' )

I suggest you try again download and install the Layouts plugin:
https://toolset.com/account/downloads/

The topic ‘[Closed] Error After Updating to latest Types, Views, Cred & Layout’ is closed to new replies.