Topic Closed
juergen
1.5K Posts
54.4K 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: 4 years ago#8698

juergen
1.5K Posts
54.4K 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);
        }

 

 

4 years ago#8699

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

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

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

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register