Fatal error!

This support request was posted in Paeon by xaps504

Request ID #2881 In Progress
  • hello!
    I received the following message

    Fatal error: Call to undefined function nice_admin_menu_icon() in /homepages/3/d507145090/htdocs/blog/wp-content/themes/paeon/includes/custom-post-types/feedback.php on line 35

    this happened when I modified part of file
    paeon/includes/functions.php

    but I’ve gone up a backup but still the same problem

    Can you help me?
    thank!

    Hello,

    Thanks for writing.

    What’s the modification you’ve made on that file?

    What version of the Framework are you running? (You can check this by going to “Nice Themes > Updates”).

    Best,
    Juan.

    the changes are:
    several things to translate Spanish

    I can not access wordpress. for I believe that the framework can be
    Framework version for this site: 1.1.0

    Hi There,

    There’s no need to modify the code in order to translate the theme. The theme comes packed with the .po and .mo files under the /lang/ folder in order to be translated. It’s quite probable that there’s a bad ending on some string or something that is giving the error. The function nice_admin_menu_icon() is part of the Nice Framework and was included on the last update. So, if you downloaded the theme recently the function should be there.

    One thing you can try is re-download the theme, and replace all the files inside the folder /engine/ with the ones you download.

    If you try this and you still have the error please send me your WordPress access details and FTP details over support@nicethemeswp.com so I can take a look.

    Best,
    Juan.

    thank you very much, John

    I will try to see if I solve it. If I can not, I will contact you.

    thank

    No problem 🙂

    Please let me know.

    Best,
    Juan.

    hello!

    I have been able to access in wp. I deleted the theme and have installed again.

    How I can translate it into Spanish? The theme comes packed with the .po and .mo files under the /lang/ folder in order to be translated?

    Hi,

    There are several ways to translate the theme. Personally, I like to use the program Poedit, you can get a copy over here: http://www.poedit.net/

    First, download and install Poedit. Then, see that within the theme files there’s a folder named “lang”. Over there you can find the translatable files. So, you’ll need to do the following:

    1. Open the file in Poedit.
    On the left, there’s a box with the original message (in English) from the POT file. Beside that box is where you add your translation.
    2. Go to File → Save as… to save your translations in a PO file. (must be named es_ES.po and es_ES.mo – These are for Spanish from Spain)
    3. When you are finished translating, go to File → Save as… again to generate the MO file.

    Finally, you need to be running your WordPress install in Spanish:

    http://codex.wordpress.org/WordPress_in_Your_Language#Spanish_-_Espa.C3.B1ol

    Best,
    Juan.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server