I just inherited a customer’s website that was built using the Sahifa theme (by TieLabs). I just upgraded the Wordpress install to the latest now getting an error in various items. Here’s what it says:
" Warning : Use of undefined constant php - assumed ‘php’ (this will throw an Error in a future version of PHP) in wp-content/themes/sahifa/functions/home-cats.php on line 67 "
<li>
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) : ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'tie' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php tie_thumb_auto_height('',55,55); ?></a>
</div><!-- post-thumbnail /-->
<?php endif; ?>
<h3 class="post-box-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'tie' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<p class="post-meta">
<?php // tie_get_time() ?> **<-----------LINE 67**
<?php tie_get_excerpt(); ?>
<!-- <?php comments_popup_link( __( 'Leave a comment', 'tie' ), __( '1 Comment', 'tie' ), __( '% Comments', 'tie' ) ); ?> -->
<?php tie_get_score(); ?>
</p>
Really stuck now. Can anyone help decipher this error?