phpcodeigniteropencartvqmodocmod

Opencart 2.3 Notice: Undefined property: Proxy:: function_name


I am working on Opencart 2.3, I have installed a new extension into the system and since then I am getting an error in the product description page in the front end:

Undefined property: Proxy:: function_name**

The uploaded extension is in the admin section, the product description page was working fine before installing the new extension.

Note: The extension has vqmod file and modification folder has the files related to the extension.


Solution

  • I had this. My problem was the path to my extension was

    extension\module\name_here

    but since I just upgraded it from 1.5.6, which just had module\name_here. I forgot to change the class name to match the new path.

    class Model**Extension**Modulename_here extends Model {
    

    Extension word was missing. The error is really obscure, and only upon finding it on github did it make sense what my mistake was.