Closed

error in error log

Sun Oct 18, 2015 1:31 am
Jumbo,

Not shure if it is something to worry about.
But when I went true my server error log looking for an error I spotted the following:

PHP Warning: trim() expects parameter 1 to be string, array given in /.../plugins/system/vmogmetatag/vmogmetatag.php on line 497 referer: www.avecolichtengeluid.nl/test/verlichting/lichteffecten

Thanks Rick
The topic has been closed.
Mon Oct 19, 2015 11:44 am
It is not an error but a simple PHP warning and you do not have anything to worry about the same.

If you insist then you can open plugins/system/vmogmetatag/vmogmetatag.php

Then find the following codes between lines 496 to 5001:
			$value = trim($value);
 
			if(empty($value))
			{
				continue;
			}
Replace above by:
			if(empty($value) || !is_string($value))
			{
				continue;
			}
 
			$value = trim($value);
Post your reviews about us on our Facebook Page.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.

 autoelite says thank you to Jumbo for this post.

The topic has been closed.