Avada Forums Community Forum Fatal error: Call to undefined method Avada::c_pageID() Reply To: Fatal error: Call to undefined method Avada::c_pageID()

Michael
Keymaster
Post count: 715

Hi @harmonherrting

This fatal error -> Call to undefined method Avada::c_pageID() – will be coming from the sites child theme and the will more than likely have been updated from an old version of Avada.

If you check the Avada update instructions, maintaining the sites child theme is imperative. To resolve this, you need to take the child theme header.php file (it is an old version) and swap it out for the latest header.php file from Avada 5.5.2. Any custom code added to old header.php file can then be reintroduced into the new file and you will have no fatal error

Also note, you can use Avada and Fusion Builder PHP hooks to cuystomize these assets as well -> https://theme-fusion.com/documentation/avada/special-features/avada-hooks-actions-and-filters/ – instead of template files.

Thank you kindly