Forums

Can't install new theme (10 posts)

  1. davidsunyol
    Member
    Posted 4 months ago #

    Hi there,

    I've installed a new theme and it seemed to be ok but opening site, appears what follows:
    <html class="
    Fatal error: Call to undefined function mb_strtoupper() in D:\Inetpub\webs\mydomain\wp-content\themes\grey-opaque\includes\classes.php on line 227

    This is what line 227 says:
    $var_sUpperString = mb_strtoupper($var_sString, 'utf-8');

    Do you guys know what to do? Thanks in advance

  2. Tim S
    Member
    Posted 4 months ago #

    Have you tried removing the theme and re-installing it? IT's quite possible that this is due to a corrupt installation of the theme.

  3. davidsunyol
    Member
    Posted 4 months ago #

    It didn't work... thanks anyway. Anybody else coming up with possible solutions?? Thank you very much

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    I've just downloaded, installed & activated that theme and it worked fie for me (with 1 wp_enqueue warning notice).

  5. davidsunyol
    Member
    Posted 4 months ago #

    Well, I erased -as adviced-, re-installed, re-activated... and it does'nt work still. Same warning:
    <html class="
    Fatal error: Call to undefined function mb_strtoupper() in D:\Inetpub\webs\mydomain\wp-content\themes\grey-opaque\includes\classes.php on line 227

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Did you download a fresh copy of the theme?

  7. Chip Bennett
    Member
    Posted 4 months ago #

    What version of PHP are you running? The mb_strtoupper() function is a core PHP function available in PHP 4.3.0 and greater.

  8. davidsunyol
    Member
    Posted 4 months ago #

    esmi, I guess so. I've downloaded the one available throught my desktop. You know, on "themes: install new theme"...

    About my PHP version, Chip, I must confess I have no idea. I know, though, I'm running last version of WP.

    Thank you guys for your help... I'm so new with this sh.. I mean, thing

  9. david.bailey
    Member
    Posted 4 months ago #

    As Chip said, mb_strtoupper() is a PHP function. It's not being generated by WordPress so changing or updating WordPress won't solve the problem, nor will modifying the theme. You should be able to check your PHP install by running <?php phpversion(); ?> or <?php phpinfo(); ?> - It really sounds like you've got a faulty php install so I would suggest asking this question in how to and troubleshooting.

  10. Tim S
    Member
    Posted 4 months ago #

    Hi Chip,

    Just a thought, have you tried contacting your hosting provider?

Reply

You must log in to post.

About this Topic