+ 2
PHP warning !
I am using The7 wordpress theme and I have got tis issue illegal string offset in 'content' line 908 I think these are the guilty lines if some one could help me 😊 $content = $found[5][ $index ]; $shortcode = array( 'tag' => $s, 'attrs_query' => $found[3][ $index ], 'attrs' => shortcode_parse_atts( $found[3][ $index ] ), 'id' => $id, 'parent_id' => $parent_id, ); if ( false !== WPBMap::getParam( $s, 'content' ) ) { $shortcode['attrs']['content'] = $content; }
16 odpowiedzi
+ 5
Well, SO is well known for stricter rules on duplicates, I suppose you already know that. Have you tried looking for WP community forum? they probably won't be as strict as SO, and given specific topic, you probably have better chance for an answer.
I would also try to contact the theme developer, if they are open for communication, they surely know more about it rather than anybody else.
+ 4
@Abdurrahman, honestly, I know nothing about WP and its scripts, I have no experience with it : )
However, I looked it up and found these discussion links, I guess they're somewhat related to that error message, hope you can find your answer there, if not, maybe you can try to post a question on some WP community forum, I bet you'll have better luck for answers there.
https://stackoverflow.com/questions/9869150/illegal-string-offset-warning-php
https://stackoverflow.com/questions/41449441/php-illegal-string-offset-warning-on-array
Good luck : )
+ 4
You're welcome @Abdurrahman, hope you can solve the issue shortly, by the way, when you have a solution, kindly share it here, so others can also learn from it later, okay : )
+ 3
thanks dear :)
+ 3
@Abdurrahman, which link is confusing, the first or the second link? I haven't fully read them actually...maybe I can help a little...
+ 2
thanks alot my friend 😊
+ 2
ok if it solved
+ 2
I really get confused because I know nothing in php and can't understand what they mean in these answers
+ 2
I have written that in stackoverflow there laughed on me and they are going to block my account 😂😂
if you find someone expert at php then let him come here please
+ 2
both of them
I told you I know nothing about php litteraly nothing so I couldn't understand
+ 1
I didn't understand
I know nothing about PHP but I need this correction to use my wordpress theme
+ 1
if u don't know coding then u shouldn't touch the code
+ 1
I think you are one
can you help me
0
in Array parameter u pass wrong value so first do this
print_r ($content) ; die ();
if it's print value then take those value and pass it in ur array
0
now u should contact with a developer
- 1
Sorry dear I am at hospital right now and next 7days I have to stay here so I just cant help u now