Sign in to follow this  
Followers 0
info7

Illegal string offset

2 posts in this topic

Hello, we add this to the previous question.

After upgrading to PHP7.3 we got these faiure reports:

Warning: Illegal string offset 'featured' in /home/httpd/vhosts/filesubway.ch/kurse-hwd.ch/wp-content/themes/corpus_theme/includes/admin/lib/options-framework/options-sanitize.php on line 64 -->  $output[$key] = "0"
Warning: Illegal string offset 'headboxes' in /home/httpd/vhosts/filesubway.ch/kurse-hwd.ch/wp-content/themes/corpus_theme/includes/admin/lib/options-framework/options-sanitize.php on line 68 -->  $output[$key] = "1"
 
function mudthemes_of_sanitize_multicheck( $input, $option ) {
 $output = '';
 if ( is_array( $input ) ) {
  foreach( $option['options'] as $key => $value ) {
   $output[$key] = "0";
  }
  foreach( $input as $key => $value ) {
   if ( array_key_exists( $key, $option['options'] ) && $value ) {
    $output[$key] = "1";
 
Thanks in advance for your assistance to solve this issue.

Share this post


Link to post
Share on other sites

Hello,

We are continuing this topic here:

Kind Regards,

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0