pixelgrade / customify

Intuitive Website Styling integrated into WordPress' Customizer
GNU General Public License v2.0
28 stars 5 forks source link

Fatal error: Uncaught Error: Call to undefined method Customify_Customizer::instance() #170

Closed lelik4w closed 5 years ago

lelik4w commented 5 years ago

Appears upon plugin activation and won't allow activating it. Please find below the entire error log:

Fatal error: Uncaught Error: Call to undefined method Customify_Customizer::instance() in /var/www/vhosts/.../wp-content/plugins/customify/includes/class-pixcustomify.php:128 Stack trace: #0 /var/www/vhosts/.../wp-content/plugins/customify/includes/class-pixcustomify.php(103): PixCustomifyPlugin->init() #1 /var/www/vhosts/.../wp-content/plugins/customify/includes/class-pixcustomify.php(932): PixCustomifyPlugin->__construct('/var/www/vhosts...', '2.5.0') #2 /var/www/vhosts/.../wp-content/plugins/customify/customify.php(35): PixCustomifyPlugin::instance('/var/www/vhosts...', '2.5.0') #3 /var/www/vhosts/.../wp-content/plugins/customify/customify.php(40): PixCustomifyPlugin() #4 /var/www/vhosts/.../wp-admin/includes/plugin.php(2141): include('/var/www/vhosts...') #5 /var/www/vhosts/.../wp-admin/plugins.php(175): plugin_sandbox_scrape('customify/custo...') #6 {main} thrown in /var/www/vhosts/.../wp-content/plugins/customify/includes/class-pixcustomify.php on line 128

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

vladolaru commented 5 years ago

@lelik4w Thank you for reporting this issue.

I have tested and looked at possible scenarios where this might occur, and all I could find would be if someone else would declare the Customify_Customizer class before (maybe another plugin or theme). I have changed the class name to be more specific, but I don't think there is something else to be done.