Hi,
I’m trying to create a portfolio page. I’ve already created the portfolio and when I select the page template “Portfolio Masonry” the page doesn’t load and shows an error:
Fatal error: Can’t use function return value in write context in /home/camipot/public_html/casakuk.cl/wp-content/themes/black-label/template-portfolio-masonry.php on line 41
When I check like 41 it says:
if (!empty( get_the_content() ) ) {
I’ve checked all the content, to make sure it’s not empty or something like that. But I guess there must be something I have to do with the code but have absolutely no clue how to.
I would really appreciate you help, thank you so much!