php - debugging doesn`t return anything on Warning: Illegal string offset 'panels_info' -


i need solution on how proceed in fixing wordpress error:

fatal error: uncaught error: cannot use string offset array

code sample line 586:

foreach( $panels_data[ 'widgets' ] $i => $widget ) {         $widget['panels_info']['widget_index'] = $i;         $row_index = intval( $widget['panels_info']['grid'] );         $cell_index = intval( $widget['panels_info']['cell'] );         $layout_data[ $row_index ]['cells'][ $cell_index ]['widgets'][] = $widget;     }      return $layout_data; } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -