Support

Home Forums Event Espresso Premium Error on page with [ESPRESSO_EVENTS] code

Error on page with [ESPRESSO_EVENTS] code

Posted: November 5, 2015 at 3:11 am

Viewing 6 reply threads


woodendnh

November 5, 2015 at 3:11 am

Hi there,
I’d set up a page on my website to look like this page: http://melbourne.lanewaylearning.com/class-category/upcoming-classes/ using (I think) the [ESPRESSO_EVENTS] code. This worked fine until I looked at the site the other day and the page has gone blank. I haven’t made any changes to the page and to my knowledge no-one else with a site login has either, but nevertheless is now looks like this: http://www.amsut.net.au/clients/woodendnh.org.au/index.php/courses/

I tried to restore a previous page to a version that I knew worked as it should but it was still blank – please help!!
Thanks so much,
Kate


Tony

  • Support Staff

November 5, 2015 at 3:52 am

Hi Kate,

Can you enable WP_DEBUG and see if any errors are being thrown please?


woodendnh

November 5, 2015 at 3:56 am

Hey Tony,
Happy to but i’m not sure how i do that, so sorry! Can you explain please?
Kate


woodendnh

November 5, 2015 at 3:59 am

Sorry just realised you linked it (its been a long day and is 10pm in australia!) will do it now!


Tony

  • Support Staff

November 5, 2015 at 4:57 am

No problem 🙂

Its basically just adding:

define( 'WP_DEBUG', true );

to you wp-config.php file just above the line that has:

/* That’s all, stop editing! Happy blogging. */

Then if any errors are being thrown they will be displayed when you next load the page.


woodendnh

November 8, 2015 at 11:26 pm

Hi Tony,
Thanks for this, I did that and got this when I reloaded. Does any of this point to the problem at all?
Thanks so much,
Kate

Notice: Constant THEME_SHORT_NAME already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 21

Notice: Constant THEME_FULL_NAME already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 23

Notice: Constant GOODLAYERS_PATH already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 25

Notice: Constant SERVER_PATH already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 27

Notice: Constant AJAX_URL already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 29

Notice: Constant FONT_SAMPLE_TEXT already defined in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-content/themes/superspark-v1-07/functions.php on line 31

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/amsutnet/public_html/clients/woodendnh.org.au/wp-includes/functions.php on line 3457


Tony

  • Support Staff

November 9, 2015 at 3:13 am

Unfortunately all of those are notices which generally have no effect on how the code runs, they basically mean “this is strictly correct but I’m going to run it anyway”.

The first 6 are from your theme, the rest are also likely the theme creating widgets the ‘old’ way.

Have you changes the /events/ slug within Event Espresso -> Events -> Template Settings to ‘courses’?

If you go to Dashboard -> Settings -> Permalinks, make no changes and just clikc save, then reload the page, does it load events?

Viewing 6 reply threads

The support post ‘Error on page with [ESPRESSO_EVENTS] code’ 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