Support for PHP 7.1

  • soriahdez

    #49053

    Hello

    I notice that Franz Joseph doesn’t have support for PHP 7.1
    I update y server to PHP 7.1 and the website show a blank page bu if I use PHP 7.0 it work pretty well

    So I just want to know if you will add support to PHP 7.1.

    Thank you

    Admin

    Syahir Hakim

    #49064

    The Franz Josef demo site is running PHP 7.1 and everything is working normally. Try disabling your plugins to see if any of those is causing the issue instead.

    Gendji

    #49088

    Stacks plugin seems to be the problem. All pages created without Stacks work on 7.1 and 7.2, including menu etc. All pages created with Stacks don’t.

    Disabling Stacks shows the pages made with Stacks on 7.1 and 7.2 but then of course the make-up is gone.

    Admin

    Syahir Hakim

    #49091

    Hmm.. that is strange as the demo site is also running Stacks with PHP 7.1. Can you turn on WP_DEBUG on your site and see if there’s any error message displayed? Also, have you installed the latest SiteOrigin Page Builder plugin to replace the theme’s bundled copy?

    Gendji

    #49093

    This is what’s displayed on pages with Stacks:

    in /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php:27 
    Stack trace: 
    #0 /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php(107): SiteOrigin_Panels_Css_Builder->add_css('#pgc-1461-0-0', Array, 1920) 
    #1 /blog/wp-content/plugins/franz-stacks/lib/page-builder/siteorigin-panels.php(754): SiteOrigin_Panels_Css_Builder->add_cell_css(1461, 0, 0, '', Array) 
    #2 /blog/wp-content/plugins/franz-stacks/lib/page-builder/siteorigin-panels.php(1334): siteorigin_panels_generate_css(1461) 
    #3 /blog/wp-includes/class-wp-hook.php(286): siteorigin_panels_enqueue_styles('') 
    #4 /blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) 
    #5 /blog/wp-includes/plugin.php(453): WP_Hook->do_action(Array) 
    #6 /mn in /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php on line 27

    I installed SiteOrigin Page Builder plugin on another website but disabled it again. It works but not with pages already created with Stacks. Problem seems to be that Stacks isn’t registered as a part of Page Builder so i have to rebuild all the pages with SiteOrigin Page Builder panels.

    If SiteOrigin Page Builder works with php 7.1 of 7.2 i do not know, i haven’t tested that.

    Admin

    Syahir Hakim

    #49096

    @gendji, can you post the line preceding the error log you posted above? Before the in /blog/wp-content/plugins/.... That would indicate what the error actually was.

    Gendji

    #49100

    Oops sorry, missed a part.

    Here it is:

    Fatal error: Uncaught Error: [] operator not supported for strings in /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php:27 
    Stack trace:
    #0 /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php(107): SiteOrigin_Panels_Css_Builder->add_css('#pgc-1461-0-0', Array, 1920) 
    #1 /blog/wp-content/plugins/franz-stacks/lib/page-builder/siteorigin-panels.php(754): SiteOrigin_Panels_Css_Builder->add_cell_css(1461, 0, 0, '', Array) 
    #2 /blog/wp-content/plugins/franz-stacks/lib/page-builder/siteorigin-panels.php(1334): siteorigin_panels_generate_css(1461) 
    #3 /blog/wp-includes/class-wp-hook.php(286): siteorigin_panels_enqueue_styles('') 
    #4 /blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) 
    #5 /blog/wp-includes/plugin.php(453): WP_Hook->do_action(Array) 
    #6 /mn in /blog/wp-content/plugins/franz-stacks/lib/page-builder/inc/css.php on line 27
    Admin

    Syahir Hakim

    #49103

    Thanks @gendji. We’ve released an update for Stacks that should fix this issue. Please update your copy and let me know how it goes for you.

    Gendji

    #49105

    Working on both 7.1 and 7.2, Thank you!.

    Small problem occurred after the update (and no idea why).

    Edit Row -> Row Styles -> Attributes -> CSS Styles, are not working anymore with Stacks.

    Made a separate class and put it in Row Class, to solve that problem.

    Gendji

    #49108

    Noticed some more problems btw. If you look at the Franz Josef demo website and test is for responsiveness, you’ll notice that it isn’t working anymore, like it should.

    Items are not stacked under each other when resizing, instead a scroll-bar appears and the columns are stretched. Slider is “compressed” to the left and not readable anymore.

    Admin

    Syahir Hakim

    #49110

    @gendji, can you quickly add this code to your site’s Additional CSS and let me know if it fixes the responsive issue?

    .panel-grid.panel-no-style, 
    .panel-grid.panel-has-style > .panel-row-style {
    	flex-wrap: wrap;
    }
    .panel-grid.panel-has-style > .siteorigin-panels-stretch {
    	display: block;
    }
    

    Thanks.

    Gendji

    #49114

    It is working, thank you!.

    Except for the slider, but i am not using it the standard FJ way, so no idea if that falls under support :-).

    Gendji

    #49121

    Seems to be an FJ Stacks problem after all.

    In plugins/franz-stacks/lib/page-builder/css/front-legacy.css, the

    .panel-grid-cell {
       float: left;
    } 

    part, (line 13) messes up the layout of the first row on my front page, which has the slider.

    If i remove it from that css file, all is back to the way it was.

    I have no idea how to override that in the child theme. Changing float to none doesn’t work.

    Admin

    Syahir Hakim

    #49123

    I’ve done some further checking on this, and it turns out there are further issues with the latest version of SiteOrigin Page Builder. I’ve released an update today (v1.4.2) which should fix most of the layout issues. Do let me know how it works out for you, and if you notice any further issues.

    Gendji

    #49124

    Thank you. Works in regard to the previous Slider problem.

    One other issue that occurred now is that on my front page, part of i think some padding (left and right), is gone. There was a small space left and right of the rows that had the background color, that is not there anymore.

    It’s there on mobile view but not on full view.

    Hope i am explaining it correctly.

Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in to reply to this topic.