Archived topic
Error above author box
9 replies · Started by William on March 25, 2022
Hello -
I built an author box, but have a strange error showing above the box appearing at the end of articles.
Here is an example: https://thebullfighter.com/sony-wh-xb910n-extra-bass-noise-cancelling-headphones/
If you scroll down to the end of the article, above the author box, you'll see: Warning: ltrim() expects parameter 1 to be string, array given in /home/customer/www/thebullfighter.com/public_html/wp-includes/formatting.php on line 4357
Any help resolving this is appreciated!
Hi there,
Are you sure that's related to the author box?
Does the error disappear if you disable the author box element?
Yes if I disable this goes away.
Hi there,
what dynamic content is being used in the author box?
Hi David -
The Dynamic content being used is:
Post Author Name, Author Description, and Author Avatar
Thank you.
That is super strange - haven't had other reports on this.
Can you do a test and try this author box instead?
https://youtu.be/4x6CjGOyagc
You can copy and paste the Final Content pastebin file in the description of the file:
https://youtu.be/CsT1UOzZUgI
Hi Leo -
I followed your advice. Looks like it's working. Not sure what was up with the first author box.
https://thebullfighter.com/sony-wh-xb910n-extra-bass-noise-cancelling-headphones/
Thank you!
Glad to hear :)
Thanks as always for your help, Leo!
Glad to hear :)