Title: Need help fixing PHP Parse Error Code for CF7 Plugin
Last modified: October 19, 2021

---

# Need help fixing PHP Parse Error Code for CF7 Plugin

 *  [jsanchez16](https://wordpress.org/support/users/jsanchez16/)
 * (@jsanchez16)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/need-help-fixing-php-parse-error-code-for-cf7-plugin/)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/php-code-for-posts_0d1022.svg)
 * [PHP Code for posts](https://wordpress.org/plugins/php-code-for-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-for-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-for-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-for-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-for-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-for-posts/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [jsanchez16](https://wordpress.org/support/users/jsanchez16/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/need-help-fixing-php-parse-error-code-for-cf7-plugin/)
 * Status: not resolved