Happy to know that PHP update resolved the error.Yes, the problem with a particular PHP function which can be used only if version is 5.3 or greater than 5.3. However, I will update the code to make the plugin activation successful for lower version also. Thanks again for notifying me about that error.