PHP Class printed in the html output!
-
Part of the plugin is printed to the html output!, both front end and control panel.
Uninstalled and deleted.
It’s a shameUpdate:
ok, dsthedev is right, the problem are the PHP short tags.
On my server I have disabled it, so obviously, the plugin is not working.I followed the recommendation of dsthedev and I edited the files that cause the problem.
They are, as he says, the files:
–name_price_wc_plugin.php
(line 1)
–\templates\single-product\price.php
(lines 41 and 52)you have to change this:
<?
to this:
<?php
The plugin version of which I speak is the 1.7
And it solved.
The plugin works well and does the job perfectly. It’s a shame to have this foolish error. I hope that in the next update the author corrected.
- The topic ‘PHP Class printed in the html output!’ is closed to new replies.