Summary:
Custom fields (image upload) breaks CGBlog
Detailed Description:
I've added a custom field definition for an image. When I save the post, it
saves, but doesn't save the image and throws up this error:
Fatal error: Uncaught Error: Using $this when not in object context in
/mycoolwebsite/modules/CGExtensions/lib/class.cge_setup.php:156 Stack trace: #0
/mycoolwebsite/modules/CGExtensions/lib/class.cge_setup.php(143):
cge_setup::create_uploader('', '/mycoolwebsite...') #1
/mycoolwebsite/modules/CGBlog/lib/class.cgblog_utils.php(96):
cge_setup::get_uploader('', '/mycoolwebsite...') #2
/mycoolwebsite/modules/CGBlog/action.admin_editarticle.php(228):
cgblog_utils::handle_uploaded_image('m1_', 1, '1', Array, '') #3
/mycoolwebsite/lib/classes/class.CMSModule.php(1403):
include('/mycoolwebsite...') #4
/mycoolwebsite/modules/CGExtensions/CGExtensions.module.php(607):
CMSModule->DoAction('admin_editartic...', 'm1_', Array, '') #5
/mycoolwebsite/lib/classes/class.CMSModule.php(1479):
CGExtensions->DoAction('admin_editartic...', 'm1_', Array, '') #6
/mycoolwebsite/moduleinterface.php(74): CMSM in
/mycoolwebsite/modules/CGExtensions/lib/class.cge_setup.php on line 156