Home › Forums › Trusted › Trusted PHP Fatal Errors › Reply To: Trusted PHP Fatal Errors
It looks like you are using the trusted_featured_services()
PHP function in a child theme, to override the functionality of the parent theme.
When changing/using this function, it requires that exactly 1 parameter (the missing argument in the error) is passed to the function.
So for example, this will NOT work as there is no parameter:
trusted_featured_services() {
/* your custom code */
}
This will work and is correct as there is a parameter passed to the function:
trusted_featured_services(1) {
/* your custom code */
}
The parameter in the working example above “1” refers to the number of the order in which you have set the various homepage sections.
For example if you have the featured services section in first place before the other homepage sections, use the value “1”, and if it is in position 3, then use the value “3”.