Jump to content
kentgravity

ps_sharebuttons.php on line 140

Recommended Posts

Salutare, am urmatoarea eroare in fisierul error_log
PHP Notice:  Undefined index: product in /home/tuningya/public_html/modules/ps_sharebuttons/ps_sharebuttons.php on line 140

Aceasta eroare apare atunci cand setez o comanda din /public_html/config/defines.inc.php '' define('_PS_MODE_DEV_', false); '' true and false. 

Acum este pe false si pagina mea functioneaza, dar admin panel nu functioneaza

In admin panel am urmatoarea eroare :  is currently unable to handle this request. HTTP ERROR 500

 

Atunci cand setez dev mode in true, websiteul meu obtine eroarea din poza atasata si admin panel functioneaza aproape perfect

Voi attach o imagine cu eroarea de pe website meu

 

The line 140 from ps_sharebuttons.php is

        $key = 'ps_sharebuttons|' . $params['product']['id_product'];

error.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More