Importing demo not working "media not installed :("

Solved2 replies2 participantsUpdated by Lundy

  • Avatar: Lundy
    Lundy
    Participant

    I bought a theme from this company, but when installing the theme already on the page itself, in some places there is an error.
    How do I fix it?

    Warning: strpos() expects parameter 1 to be string, array given in /www/wwwroot/***/wp-content/themes/xstore/framework/theme-functions.php on line 2133

    Warning: explode() expects parameter 2 to be string, array given in /www/wwwroot/***/wp-content/themes/xstore/framework/theme-functions.php on line 2134

    PHP version:7.4
    CentOS 7.8
    Apache 2.4.43

    2 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Thanks for contacting us.

    To fix mentioned warnings, reupload this theme-functions.php file into xstore/framework folder via FTP – https://dropmefiles.com/RALcq

    Sometimes when you import demo with a great number of the images the server timeout is not enough to import all the media that demo has and this error occurred. You can choose the demo import again and at the demo content installation step don’t check all but media only https://gyazo.com/647b0452f7c5d8ddb3ebcf966506dcc0

    Regards

    Avatar: Lundy
    Lundy
    Participant

    Ok, thank you very much!

The issue related to '‘Importing demo not working "media not installed :("’' has been successfully resolved, and the topic is now closed for further responses