devinsays / portfolio-press

A WordPress theme for artists and designers to showcase their work.
https://wptheming.com/portfolio-theme/
GNU General Public License v2.0
62 stars 30 forks source link

Customizer vs. Options Framework w/ PortfolioPress #55

Closed mfields closed 10 years ago

mfields commented 10 years ago

After PortfolioPress was installed I:

  1. Enable the Options framework plugin.
  2. Upload a logo image.
  3. Visit the front-end of the site.
  4. Launch customizer from toolbar.

At this point I receive the following error:

Fatal error: Call to a member function check_capabilities() on a non-object in /wp-includes/class-wp-customize-control.php on line 160

One way to "fix" this is to disable the options framework plugin - but there's got to be a better way. Can you reproduce this?

devinsays commented 10 years ago

Yeah, I think there was some copy pasta from another theme that works similar. add_setting didn't have the right option set. Fixed. Thanks!