Support

Home Forums Event Espresso Premium Custom_function add on

Custom_function add on

Posted: January 16, 2015 at 3:42 pm

Viewing 6 reply threads


Alessandro Iannelli

January 16, 2015 at 3:42 pm

Hi guys,
I installed the custom_function add on on EE3 to modify the wording – now my site is blank!!!! I removed the php from the server, but I can’t get my website back…HELP!!!!! http://www.homeopera.net
No clue what happened, i did what is written here:
https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

Many thanks for your help!
Ale


Alessandro Iannelli

January 16, 2015 at 3:43 pm

I mean my site went “blank”….


Josh

  • Support Staff

January 16, 2015 at 4:00 pm

Hi there,

We have a guide that can help with troubleshooting the white screen:

https://eventespresso.com/wiki/troubleshooting-event-espresso/#wsod

Usually turning WP_DEBUG on will help pinpoint where the errant code is.


Alessandro Iannelli

January 16, 2015 at 4:24 pm

Hi Josh, thanks for your help! I could fix the issue with the debug mode.


Alessandro Iannelli

January 16, 2015 at 4:55 pm

Damn it – again an issue….can you please help me again?

I get this debug text but don’t know what to do with that

Parse error: syntax error, unexpected $end in /var/www/vhosts/homeopera.net/httpdocs/wp-content/themes/roots/inc/custom.php on line 1

This file contains only <?php


Alessandro Iannelli

January 16, 2015 at 5:12 pm

never mind, I just deleted <?php and now it works again.


Lorenzo Orlando Caum

  • Support Staff

January 16, 2015 at 5:53 pm

Hi Alessandro, the opening PHP tag is needed if this is a standalone function that will be in its own plugin.

If you are adding it via the custom functions add-on or a child theme’s functions.php, then it should not be included.


Lorenzo

Viewing 6 reply threads

The support post ‘Custom_function add on’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso