Image upload Invalid Path!

I have a basic PHP page that adds text to a mysql database this was all working fine until I added the option to upload 2 photos when adding a record

I am getting this error when I save the page

and if I open the update_page.php directly i get this error

{“code”:0,“file”:"/var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/core/Path.php",“line”:51,“message”:“Invalid Path! “,“trace”:”#0 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/modules/image.php(32): lib\core\Path::toSystemPath(NULL)\n#1 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/App.php(195): modules\image->load(Object(stdClass), ‘image’, Array)\n#2 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/App.php(159): lib\App->execSteps(Object(stdClass))\n#3 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/App.php(127): lib\App->execSteps(Array)\n#4 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/App.php(116): lib\App->exec(Object(stdClass), false)\n#5 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnectLib/lib/App.php(94): lib\App->exec(Object(stdClass))\n#6 /var/www/vhosts/domainnamedeleted.com/httpdocs/admin/dmxConnect/api/CMS/Modules/Pages/update_page.php(8): lib\App->define(Object(stdClass))\n#7 {main}”}

Thanks in advance

Community Page
Last updated: