How do i fix "function not found" in php?

This error is triggered when calling a function that doesn't exist in the current scope. Imagine writing
nonExistentFunction();
without defining it.

Solution: Check your function's name for typos or include the file that has its definition.

Example:

function nonExistentFunction() { echo "Now I exist!"; }

Beginner's Guide to PHP