0
votes
0answers
21 views

Parse Error when trying to access Products -> Categories

Whenever I try to access the Categories or Tags tab under Products on the WP dashboard, I get this error message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in ...
0
votes
0answers
174 views

Altering images inserted into Posts for lazyloading with PHP Simple HTML DOM Parser

I want to find a robust solution to make lazyloading possible for images inserted into a post. There are many lazyload solutions out there. I'm not looking to cater any one of them specifically, but ...
0
votes
0answers
57 views

syntax error unexpected '}' at 364 line

I am getting this error on my website and am not able to access admin dashboard. The error occurs when I am a new theme on my website. Can you please help me to find this error. Parse error: ...
-1
votes
1answer
334 views

How to handle PHP parse errors?

I tried to execute the following code and I got a parsing error message (line:3). Here is the code on Pastebin http://pastebin.com/gC7rsJqw. I tried echoing but didn't seem to solve the problem. ...
0
votes
2answers
205 views

How to make modifications only to certain elements of an HTML string on the server-side?

Is there a similar way to select / perform DOM manipulation on the server-side (PHP) like the way jQuery works? For example, if I wanted to modify content of each <pre ...