Support

Home Forums Event Espresso Premium Warning message on my events page

Warning message on my events page

Posted: September 15, 2014 at 7:02 am

Viewing 5 reply threads


Beth Maymon

September 15, 2014 at 7:02 am

Word Press 4.0, EE4, new installation

http://ccarf.org/events/

Everything is going well with my new installation, however I have this warning on the events landing page. Everything else seems to be working just fine. this seems to be the only hiccup…

Warning: Missing argument 2 for tempera_more_link() in /wp-content/themes/tempera/includes/theme-loop.php on line 78

Thank you very much.

  • This topic was modified 10 years, 4 months ago by Tony. Reason: removed server details


Tony

  • Support Staff

September 15, 2014 at 7:22 am

Hi Beth,

That warning is actually coming from your a function within your theme.

The function tempera_more_link(), you’ll need to contact the theme authors to have them investigate this.

However, the warning is currently being displayed as either WP_Debug is enabled or error reporting is enabled on the server.

Edit your wp-config.php file and change:

define( 'WP_DEBUG', true );

To either

define( 'WP_DEBUG', false );

or comment it out completely

//define( 'WP_DEBUG', true );

That will stop the warnings/errors from being displayed altogether, you can aldo log to a error_log file using something like:

define( 'WP_DEBUG', true ); // Or false
if ( WP_DEBUG ) {
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
}

So rather than displaying the errors, they can be reviewed within the error_log file.

Note: this file can end up rather large depending on traffic and the errors thrown. Just something to be aware of.


Beth Maymon

September 15, 2014 at 7:38 am

Thanks so much for responding so quickly. I don’t know where you edit your wp-config.php file. I would like to do that in the meantime until I get the theme authors so that the registration page looks good for immediate use. The Event Espresso functions seem to be working fine.


Tony

  • Support Staff

September 15, 2014 at 7:47 am

You’ll need either FTP/SFTP access or access to cPanel to use the file manager available there.

Do you have FTP access?


Beth Maymon

September 15, 2014 at 8:21 am

Do you mean in my hosting site? I use Go daddy and I have access to the SFTP settings, however it only gives me information on how to upload files with a 3rd party application. Is this what I need to do to edit the site or is there an better way?

It says: Use the following SFTP information to upload files with a 3rd party application:


Tony

  • Support Staff

September 15, 2014 at 9:58 am

Hi Beth,

Before proceeding further I would recommend you create a full site back. If you alter the incorrect file you’ll need this to restore your site. GoDaddy may provide a way to backup your site from the admin panel or you can use a backup plugin such as BackWPUp or Duplicator.

GoDaddy provide a built in File Manager you can use to access your files without installing any FTP clients, you can access this by logging into your account and clicking on ‘Web Hosting’:

https://support.godaddy.com/help/article/3535/accessing-your-control-panels-file-manager?countrysite=uk

That should bring up a file manager. You can then use this to find the wp-config.php file. Usually this will be within a directory with the same or similar name to your domain name, although it may just be within ‘root’ (the location that initially loads)

The wp-config.php file is an important file for your site to function correctly, so with that in mind, keep a back copy of an un-edited version so that if anything goes wrong, you can put that file back and you’ll be back up and running.

So edit wp-config.php, find:

define( 'WP_DEBUG', true );

And replace that with

define( 'WP_DEBUG', false );

Then upload that file to the site, replacing the file that is on the server.

When doing this, use a text editor such as Notepad or TextMate and NOT Word etc.

Viewing 5 reply threads

The support post ‘Warning message on my events page’ 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