Continued to check the application to fix the error encountered in the resource by managers page when uploaded to the server, as per checking, the cause of the error is the toarray() function, it was successfully executed on my local because the PHP version is 7 and version 5 on the server, it might be the cause as the function might not exists on the lower version, modified the application and remove the toarray function and tested the application again, as per checking, the query is now OK, but the blade has an error, checked the blade for the cause of the error, as per checking, there are fields that return no value, modified the blade to add condition and fix the error, tested the modified application again, as per checking, it is now OK. Modified the resource blade for editing to add the manager when viewing the resources, tested the changes, as per checking, it is OK.
Deployed the changes in pat-test then tested it, as per testing, all the changes are OK and no error was encountered.