Chris Berg
asked 5 years ago

I’m seeing an error that I THINK might be with DW Focus but maybe not. Maybe you can help me out. When I click on Media on the left side of the WordPress Admin pages and then click on Library, I’m trying to view a featured image I posted a long time ago so I hover over the image in question and then click "View" underneath it, it brings up an error instead of showing me the image. The error I get is:

"Parse error: syntax error, unexpected ‘echo’ (T_ECHO) in /home///wp-content/themes/dw-focus/attachment.php on line 19"

Anyway to know how this error is popping up or any fix at all? Thanks!

1 Answers
DominicStaff
answered 5 years ago

Hi,
At line 19 in the attachment.php file, replace the code with the following code:
esc_html( get_the_date() )
If you still face there issue, you can send me username & password of your site for further checking.
Regards,

Powered by DW Question & Answer Pro