Fantastico warning
Whenever you get the the warning “Warning: in_array(): Wrong datatype for second argument in /tmp/cPanel_phpengine.1150345342.117749063.09268510999 on line 771” in fantastico, we need to follow the below give resolution and the issue will be resolved.
Resolution:
1) Just go to WHM as root, click on Tweak Settings, scroll down to the PHP section and make sure the IONCUBE PHP Loader is selected. Save changes if needed.
2) Log into your server as root via SSH and execute the following command:
/scripts/makecpphp
After running the script you need to make sure that the script completes the task without any errors.