Fatal error: Uncaught Error: Using $this when not in object context

Question

I am using a theme plugin that is essential for my theme. It is called
PixGridder Pro. The developer website is down and they can’t help me.

The error given by wordress

 Fatal error: Uncaught Error: Using $this when not in object context in /home/#####/public_html/wp-content/plugins/pixgridder-pro/lib/functions.php:1053 
 Stack trace: #0 /home/#####/public_html/wp-content/plugins/pixgridder-pro/lib/functions.php(1146): 
 PixGridder::register_options() #1 /home/#####/public_html/wp-content/plugins/pixgridder-pro/lib/functions.php(94): 
 PixGridder::add_general() #2 /home/#####/public_html/wp-includes/class-wp-hook.php(286): 
 PixGridder::activate('') #3 /home/#####/public_html/wp-includes/class-wp-hook.php(310): 
 WP_Hook->apply_filters('', Array) #4 /home/#####/public_html/wp-includes/plugin.php(465): 
 WP_Hook->do_action(Array) #5 /home/#####/public_html/wp-admin/plugins.php(177): 
 do_action('activate_pixgri...') #6 {main} thrown in /home/#####/public_html/wp-content/plugins/pixgridder-pro/lib/functions.php on line 1053

the first fatal error line 1053 is :

self::pixgridder_admin( array( &$this, 'register_options' ) );

Stack trace #0 line 1146 is :

self::register_options();

Stack trace #1 line 94 is :

self::add_general();

Can you tell what how to upgrade the plugin so my site work.

It use to work fine maybe there is a way to force the plugin to be active (because it use to be active and work perfectly fine, I just deactivate it for some unrelated thing and now I can’t reactivate it)

thanks for your help.

0
, 15eme Doctor 1 year 0 Answers 88 views 0

Leave an answer