Title: Installation and settings errors &#8211; please help!!!
Last modified: August 31, 2016

---

# Installation and settings errors – please help!!!

 *  Resolved [mcp111](https://wordpress.org/support/users/mcp111/)
 * (@mcp111)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/)
 * I downloaded the latest Sunshine Photo Cart plugin v2.2.10 and when I installed
   on my site and activated, I got the following error:
    Undefined index tax_location
   in C:\inetpub\wwwroot\wordpress\wp-content\plugins\sunshine-photo-cart\classes\
   cart.class.php on line 293.
 * When I go to the Sunshine/Settings section it is only showing fatal errors like
   this
    Deprecated: Non-static method SF_Format_Options::settings_options_format()
   should not be called statically in C:\inetpub\wwwroot\wordpress\wp-content\plugins\
   sunshine-photo-cart\classes\sf-class-settings.php on line 463
 * Fatal error: Uncaught Error: Using $this when not in object context in C:\inetpub\
   wwwroot\wordpress\wp-content\plugins\sunshine-photo-cart\classes\sf-class-format-
   options.php:28 Stack trace: #0 C:\inetpub\wwwroot\wordpress\wp-content\plugins\
   sunshine-photo-cart\classes\sf-class-settings.php(463): SF_Format_Options::settings_options_format(
   Array) #1 C:\inetpub\wwwroot\wordpress\wp-content\plugins\sunshine-photo-cart\
   classes\sf-class-settings.php(496): SF_Settings_API->template_body() #2 C:\inetpub\
   wwwroot\wordpress\wp-includes\plugin.php(525): SF_Settings_API->init_settings_page(”)#
   3 C:\inetpub\wwwroot\wordpress\wp-admin\admin.php(236): do_action(‘admin_page_suns…’)#
   4 {main} thrown in C:\inetpub\wwwroot\wordpress\wp-content\plugins\sunshine-photo-
   cart\classes\sf-class-format-options.php on line 28
 * I’m unable to configure and use the plugin – please help!!!
 * [https://wordpress.org/plugins/sunshine-photo-cart/](https://wordpress.org/plugins/sunshine-photo-cart/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [sunshinephotocart](https://wordpress.org/support/users/sunshinephotocart/)
 * (@sunshinephotocart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998714)
 * Turn off debug settings, [https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/Debugging_in_WordPress)
 * define( ‘WP_DEBUG’, false );
 * in your wp-config.php file
 *  Thread Starter [mcp111](https://wordpress.org/support/users/mcp111/)
 * (@mcp111)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998723)
 * Thanks for your solution. Now I don’t see any error messages but when I go to
   Sunshine/Settings, all the tabs are blank and I can’t configure anything.
    Please
   help!!!
 *  [sunshinephotocart](https://wordpress.org/support/users/sunshinephotocart/)
 * (@sunshinephotocart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998763)
 * Can you enable error logging (so the errors go to a debug.log file instead of
   being displayed in the browser) and see what you get?
 *  Thread Starter [mcp111](https://wordpress.org/support/users/mcp111/)
 * (@mcp111)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998766)
 * I enabled error logging and got these errors
 * [02-Feb-2016 06:30:04 UTC] PHP Warning: PHP Startup: Unable to load dynamic library‘
   ext\msql.dll’ – The specified module could not be found.
    in Unknown on line 
   0 [02-Feb-2016 06:30:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic
   library ‘ext\msql.dll’ – The specified module could not be found. in Unknown 
   on line 0
 * So I commented out the line “extension=msql.dll” in php.ini, rebooted IIS and
   reloaded the website.
    Now I’m not getting any further errors in the log file
   but the Sunshine/Settings tabs are still blank.
 * Please help!!!
 *  Thread Starter [mcp111](https://wordpress.org/support/users/mcp111/)
 * (@mcp111)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998776)
 * I did some debugging through the php code and logged errors and got this
 * [02-Feb-2016 17:29:16 UTC] PHP Fatal error: Uncaught Error: Using $this when 
   not in object context in C:\inetpub\wwwroot\wordpress\wp-content\plugins\sunshine-
   photo-cart\classes\sf-class-format-options.php:28
    Stack trace: #0 C:\inetpub\
   wwwroot\wordpress\wp-content\plugins\sunshine-photo-cart\classes\sf-class-settings.
   php(470): SF_Format_Options::settings_options_format(Array) #1 C:\inetpub\wwwroot\
   wordpress\wp-content\plugins\sunshine-photo-cart\classes\sf-class-settings.php(
   503): SF_Settings_API->template_body() #2 C:\inetpub\wwwroot\wordpress\wp-includes\
   plugin.php(525): SF_Settings_API->init_settings_page(”) #3 C:\inetpub\wwwroot\
   wordpress\wp-admin\admin.php(236): do_action(‘admin_page_suns…’) #4 {main} thrown
   in C:\inetpub\wwwroot\wordpress\wp-content\plugins\sunshine-photo-cart\classes\
   sf-class-format-options.php on line 28
 * I have the latest php7 and wordpress 4.4.1 – is there any issue with this?
 * Another friend who has php4 on LAMP is able to install the plugin and see all
   the settings correctly.
 *  [sunshinephotocart](https://wordpress.org/support/users/sunshinephotocart/)
 * (@sunshinephotocart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998779)
 * Sounds like a PHP7 thing, or possibly a PHP on Windows thing. That error is usually
   a low level error on other versions of PHP. Sunshine is only tested on the same
   requirements as WordPress itself which is 5.6

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Installation and settings errors – please help!!!’ is closed to new replies.

 * ![](https://ps.w.org/sunshine-photo-cart/assets/icon-256x256.png?rev=2963250)
 * [Sunshine Photo Cart - Client Photo Gallery & Photo Proofing for Photographers](https://wordpress.org/plugins/sunshine-photo-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sunshine-photo-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sunshine-photo-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/sunshine-photo-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sunshine-photo-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sunshine-photo-cart/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 6 replies
 * 2 participants
 * Last reply from: [sunshinephotocart](https://wordpress.org/support/users/sunshinephotocart/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/installation-and-settings-errors-please-help/#post-6998779)
 * Status: resolved