• I got an error message saying
    “Parse error: syntax error, unexpected ‘print’ (T_PRINT), expecting identifier (T_STRING) in /home/celticcornernj/public_html/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php on line 9”

    
    <?php
    
    abstract class WPCF7_WelcomePanelColumn {
    
    	abstract protected function icon();
    	abstract protected function title();
    	abstract protected function content();
    
    	public function print() { // This is line 9.
    		$icon = sprintf(
    			'<span class="dashicons dashicons-%s" aria-hidden="true"></span>',
    			esc_attr( $this->icon() )
    		);
    
  • The topic ‘Need help fixing PHP Parse Error Code for CF7 Plugin’ is closed to new replies.