Title: PHP errors
Last modified: December 2, 2016

---

# PHP errors

 *  [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-errors-94/)
 * Hello,
    I noticed a PHP error when clicking on “about” page inside wp-admin: _
   Fatal error: Cannot redeclare \_wp\_menu\_output() (previously declared in wp-
   admin\menu-header.php:68) in wp-admin\menu-header.php on line 240
 * Another error: I have a problem when migrating a website from localhost to live
   version: all sliders are empty, no images are found and this is the message:
 * _Warning: Invalid argument supplied for foreach() in wp-content/plugins/rolo-
   slider/core/shortcode.php on line 127_

Viewing 10 replies - 16 through 25 (of 25 total)

[←](https://wordpress.org/support/topic/php-errors-94/?output_format=md) [1](https://wordpress.org/support/topic/php-errors-94/?output_format=md)
2

 *  Plugin Author [pressfore](https://wordpress.org/support/users/pressfore/)
 * (@pressfore)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8885386)
 * Hi,
 * It is working just fine, but import / export option is integrated in Rolo Slider
   itself, it will not work with WordPress importer. We decided for that approach
   because of lot of custom options. See screenshots below:
 * There is one slider on domain 1 [https://www.screencast.com/t/sY9k0WjRy](https://www.screencast.com/t/sY9k0WjRy)
 * By going to Export you can export all sliders or to click one which you want 
   to be exported [https://www.screencast.com/t/ynasfx8207](https://www.screencast.com/t/ynasfx8207)
 * Since I clicked that slider xml file is downloaded rolo_slide_home-page-slider.
   xml
 * And then on 2nd domain, navigate to Rolo Slider > Import [https://www.screencast.com/t/oROevnvw](https://www.screencast.com/t/oROevnvw)
 * Choose previously exported file [https://www.screencast.com/t/W1D6XWA7](https://www.screencast.com/t/W1D6XWA7)
 * And it will be imported with all its options [https://www.screencast.com/t/y0HpOO2XO](https://www.screencast.com/t/y0HpOO2XO)
 * Like in most sliders, images will still point to imported domain [https://www.screencast.com/t/rQpYRtvuzBA](https://www.screencast.com/t/rQpYRtvuzBA)
   because images may be copyrighted, and end users shouldn’t use them, but this
   is not the case with our demos sliders and it is defiantly not the case when 
   users import their own sliders, but functionality will like that since it is 
   most legit way. At the end you can just replace images with ones located inside
   current installation media library.
 * Also, like with WordPress importer, if exported file is from some domain which
   do not exist, import may fail, especially for images.
 * Best Regards!
 *  Thread Starter [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8888094)
 * First of all, thanks a lot for your support!
 * On my side, everything worked except last step: sliders are there but images 
   are not.
 * After reading your last line
 * > if exported file is from some domain which do not exist, import may fail, especially
   > for images.
 * that might be the reason since I was exporting from localhost, can you confirm
   that?
 * Thanks again and best regards 🙂
    -  This reply was modified 9 years, 3 months ago by [baga](https://wordpress.org/support/users/baga/).
 *  Plugin Author [pressfore](https://wordpress.org/support/users/pressfore/)
 * (@pressfore)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8890876)
 * You’re welcome 🙂 ,
 * Yes, that’s definitely it. With all options in place, you will just have to set
   images again from live installation media library.
 * All the Best!
 *  Thread Starter [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8892677)
 * Ok that was it.
    To be honest when publishing a website from localhost to live
   version it takes quite a lot of time if there are several sliders in it. Other
   sliders plugin do not present this kind of weakness… Thanks anyway
 *  Plugin Author [pressfore](https://wordpress.org/support/users/pressfore/)
 * (@pressfore)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8896168)
 * You’re welcome,
 * We didn’t notice any kind of slowness when importing, but we will surely check
   this, and if something needs to be improved, we will certainly do it.
 * Best Regards!
 *  Thread Starter [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8897832)
 * Sorry I probably didn’t write in a clear english, I meant it takes quite a lot
   of time to manually re-add all the images to every single slider since the export/
   import function does re-create the slider but doesnt’ re-add the images when 
   going from localhost to live environment.
 *  Plugin Author [pressfore](https://wordpress.org/support/users/pressfore/)
 * (@pressfore)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8903272)
 * Thanks for explaining this further,
 * Yes, slider is using Import / Export functionality like native WordPress importer,
   adjusted for slider custom post type. Key focus here, because of a lot of slider
   options was to add functionality for importing these options, which is now possible,
   and importing images will work in same way like in WordPress importer – if exported
   xml file if from localhost, it will not import images – so importing file which
   can access images from live website will populate image fields.
 * Setting slider images after import may require some time, but comparing to manually
   setting each slide options, it is really not too much time consuming. Having 
   export in maybe in .zip format with all the images inside is excellent suggestion,
   and I will add this to our feature requests list, but I can’t promise integration
   at this point, but if more users suggest same thing we will consider extending
   import in nearer future.
 * Again, thank you for the suggestion, and thanks for using our Rolo Slider.
    Best
   Regards!
 *  Thread Starter [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8904190)
 * The steps that I usually follow when publishing from localhost to live version
   is:
 * – exporting and uploading local wp-content folder;
    – exporting the database;–
   find/replace ULRs in database (e.g. [http://localhost/example.com/](http://localhost/example.com/)
   to [http://www.example.com/](http://www.example.com/)) – importing the database.
 * Normally everything works out of the box, tried with many different sliders and
   other plugins. This requires no further steps.
 * Apart from this, I think your plugin is awesome, especially the recent releases
   which improved a lot of things, so thanks for your effort!
 *  Plugin Author [pressfore](https://wordpress.org/support/users/pressfore/)
 * (@pressfore)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8910105)
 * Hi again,
 * Yes, that is correct, but slider contain a lot of custom option fields so it 
   was convenient to add custom Import / export functionality especially for being
   able to offer users to Import demo content, and to export / import exisitng sliders.
   Focus was on migrating slider options, and images upon import will point to domain
   from which you are importing, and they needs to be set again upon import. This
   is fine because images may be copyrighted, but since users are responsible for
   their content, I guess that we can change this for some future release. This 
   is not a bug, just different functionality. I can’t promise you right now when
   we are going to change this because we have a lot of things to do regarding upcoming
   theme release, so for now, you will have to set sliders images upon import, and
   we will certainly change this at some point.
 * Best Regards!
 *  Thread Starter [baga](https://wordpress.org/support/users/baga/)
 * (@baga)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8929267)
 * Excellent thanks again!

Viewing 10 replies - 16 through 25 (of 25 total)

[←](https://wordpress.org/support/topic/php-errors-94/?output_format=md) [1](https://wordpress.org/support/topic/php-errors-94/?output_format=md)
2

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rolo-slider_7e7473.svg)
 * [Rolo Slider](https://wordpress.org/plugins/rolo-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rolo-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rolo-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/rolo-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rolo-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rolo-slider/reviews/)

 * 25 replies
 * 2 participants
 * Last reply from: [baga](https://wordpress.org/support/users/baga/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/php-errors-94/page/2/#post-8929267)
 * Status: not resolved