Warning: Invalid arguement! And I don't know CSS
-
I have a website that I have taken over managing, with a custom theme made a few years ago. It now runs an error message on the bottom (above the footer) of all wide pages:
Warning: Invalid argument supplied for foreach() in /customers/c/4/e/tynesidebsac.co.uk/httpd.www/wp-content/themes/tyneside/page-full.php on line 47
I have been in to the CSS page-full.php editor and it says this on line 47: foreach ($meta as 4member) { ?>
Can anyone advise on how to resolve this? I can provide link to the website in question if required, or a screen shot of the code… Any help gratefully received. While it doesn’t stop the site from working, it is pretty annoying. Thank you in advance. :-)
-
-
The address for one of the rogue pages is: http://www.tynesidebsac.co.uk/gun-rocks-project/
Thank you -
Do you see that error when you try to load http://www.tynesidebsac.co.uk/gun-rocks-project/?
-
Only see the error embedded as text on the wide pages once loaded and I scan down them to the bottom. Everything else seems to work fine. I have tried disabling each plugin to and that didn’t seem to get rid of the text either.
-
Oh, got it.
I am afraid we are unable to help you here. http://www.tynesidebsac.co.uk is a self-hosted WordPress (WordPress.org) site and not hosted here on WordPress.com. These forums are only for questions related to WordPress.com sites.
You can post the question on self-hosted WordPress (WordPress.org) forums for help: https://wordpress.org/support/
You can learn the differences between a self-hosted WordPress (WordPress.org) site and a WordPress.com site here.
-
- The topic ‘Warning: Invalid arguement! And I don't know CSS’ is closed to new replies.