after struggling and using cPanel I did manage to fix it,
I went to the function and delete the code that I added. it worked and solved my problem.
Thanks for the reply by the way.
this is the code:
if(function_exists(‘mtr_print’)) mtr_print($Id);
Thanks a lot for the replies.
I tried to “Enable Lightbox for product images” setting in WooCommerce and it worked.
Really appreciate it.