Virtual Class — cannot instantiate









I’m getting this error Virtual Class — cannot instantiate within nested class/functions. I checked the class reported by the error and instead of using extended class when using other class inside that specific class, I used class::function, it solved problem.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>