Call to undefined function ew_UserAgent()

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wungaz
User
Posts: 214

Call to undefined function ew_UserAgent()

Post by wungaz »

Getting the error - Fatal error: Call to undefined function ew_UserAgent() for my existing files when i generate the new files with existing one after upgrade to 10.0.2


wungaz
User
Posts: 214

Post by wungaz »

I have added custom code on some of the scripts

I have copied the ew_UserAgent() function from the old version and added to the userfn.php

Working Now

Hope there could be an easier method


Ethelseg
User
Posts: 2

Post by Ethelseg »

wungaz wrote:
Getting the error - Fatal error: Call to undefined function
ew_UserAgent() for my existing files when i generate the new files with
existing one after upgrade to 10.0.2

I also encounter this error.


Webmaster
User
Posts: 9438

Post by Webmaster »

ew_UserAgent() is not used anymore and hence removed. Just re-generate all scripts. If you have customized the template or generate scripts, customize accordingly to remove code calling the function.


wungaz
User
Posts: 214

Post by wungaz »

Thanks - I think it would be very helpful if you can list the functions that have been removed when you bring a new update - struggled until i figured it out


Post Reply