PDA

View Full Version : Object of class vB_Template could not be converted to string


locknloadapples
08-06-2014, 07:31 PM
Hey guys

So in one of my old forums to display awards in signatures from the DBTech - vBActivity addon, I inserted the following line into postbit_legacy template:

{vb:raw vbactivity_postbit.medal}

But this time on another forum on the same version and patch level, on the same skin with the above line in the same place using the same addon version I get this error:

Warning: Object of class vB_Template could not be converted to string in ..../includes/class_core.php(4715) : eval()'d code on line 315

The twist is the above code works, but only in some threads. In the threads it works I get the above error, in the threads it does not; no error.

TIA

Lynne
08-06-2014, 07:55 PM
That error is because of some modificaiton on your site. I'd suggest turning them all off and then turning them back on one-by-one so that you can figure out which is giving the error.

ozzy47
08-06-2014, 07:56 PM
Yes I already pointed that out to the OP here, https://vborg.vbsupport.ru/showthread.php?t=313501