Topic Closed
juergen
1.4K Posts
50.3K Downloads
16 Plugins
design, web development & visual effects

Josh, I fear the new nested sections recursion from 4.6 didn't make it into ver 5. Or did I miss sth?

 

 

edit: Ok, it works basically but  I get this warning cascade…

Warning: strpos() expects parameter 1 to be string, array given in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 734
Warning: Illegal offset type in isset or empty in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 671
Warning: strpos() expects parameter 1 to be string, array given in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 734
Warning: Illegal offset type in isset or empty in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 671
Warning: strpos() expects parameter 1 to be string, array given in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 734
Warning: Illegal offset type in isset or empty in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 671
Warning: strpos() expects parameter 1 to be string, array given in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 734
Warning: Illegal offset type in isset or empty in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 671
Notice: Array to string conversion in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 682
Notice: Array to string conversion in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 682
Notice: Array to string conversion in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 682
Notice: Array to string conversion in [MY VHOST SERVER ROOT]/include/Page/Edit.php on line 682

when trying to add the Section Combo "Slider COMBO - 4 x Wrapper + Text Box" from my SliderFactory 1.0rc2 plugin

 

Edited: 3 years ago#8698

juergen
1.4K Posts
50.3K Downloads
16 Plugins
design, web development & visual effects

Maybe not ideal, but this fixes it:

added
line 672:

      if( !is_array($type) ){
        if( isset($section_types[$type]) ){
          $text_label[] = $section_types[$type]['label'];
        }else{
          $text_label[] = $type;
        }
      }

and line 734 (now 736)

        if( !is_array($type) && strpos($type,'.') ){
            list($type,$class) = explode('.',$type,2);
        }

 

 

3 years ago#8699

Josh S.
2K Posts
263K Downloads
16 Themes
18 Plugins
Thanks!
3 years ago#8702

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register