It’s not a very good practice to echo html code. Also you have errors with quotes.
Correct way to do this would be:
<a href="https://wordpress.stackexchange.com/questions/106828/mailto:type%20email%20address%20here?subject=I%20wanted%20to%20share%20this%20post%20with%20you%20from%20<?php echo rawurlencode(get_bloginfo("name')); ?>&body=<?php echo rawurlencode(get_the_title()); ?>%20%20%3A%20%20<?php echo rawurlencode(get_the_excerpt()); ?>%20%20%2D%20%20%28%20<?php echo rawurlencode(get_permalink()); ?>%20%29" title="Email to a friend/colleague" target="_blank">Share via Email</a>
Related Posts:
- Parse error: syntax error, unexpected ”tax_query” in wordpress
- Parse error: syntax error, unexpected T_FUNCTION
- Parse error: syntax error, unexpected ‘$q74ed’ (T_VARIABLE)
- WP_DEBUG is not set, but I’m still getting warnings
- How to display admin error notice if settings saved succesfully?
- Uncaught ReferenceError:switchEditors is not defined
- strange characters in wordpress website displayed for visitors [closed]
- How to fix ob_end_flush() error?
- wp_remote_get() not retrieving pages properly
- $wpdb->insert Database Error Duplicate Entry Error Logging
- 418 header status, I’m a teapot [closed]
- Handling duplicates with wp_insert_term()
- How can I create a custom page for this error?
- List Category Posts plugin upgrade fails with fatal error
- How to get a Custom 500 Error Page to show?
- How can I find the cause of theme crashing Apache in Xampplite?
- Allowed Memory Size Error in WordPress
- tb_show is not defined in advance custom field
- WordPress Admin Dashboard Does Not Display Correctly
- Warning: in_array() expects parameter 2 to be array, null given
- Can’t Change Theme And White Screen When Activating Any Plugin
- “There doesn’t seem to be a wp-config.php file.” despite wp-config.php in root
- How to show the error causing the ‘There has been a critical error on your website’?
- White screen across whole of site including wp-admin
- Error Establishing a Database Connection, but credentials are OK
- Unable to Upload Files
- Feed could not be found
- call_user_func_array() error on front end
- How we store error/success messages to the next page
- Out of Memory when Uploading an Image
- error: An Unexpected HTTP Error occurred during the API request
- What might cause “junk after document element” error?
- How do you change error reporting to only show errors in WordPress?
- How to Debug WordPress
- How do iterate through all errors for a WP_Error object?
- is_wp_error is missing error
- WordPress: Notice:Object of class WP_Query could not be converted to int in on line
- 500 error after update
- Problem with running javascript in a shortcode
- Accessing my site using wp-admin does not load
- Without access to the FTP, how can I fix the index page?
- How to catch all PHP errors with custom error handler?
- Trying to get property of non-object error with thumbnail
- I have an error message coming up after I type in my domain. How Do I get my site back
- Blog automatically redirected to error page
- Error establishing a database connection error on a site that was working fine previously
- 500 error for all pages and post after move localhost to server
- why would ABSPATH not get defined
- 404 Not found error after update to WordPress 5.0
- Keep getting this code reparted again and again?
- WordPress code problem [closed]
- WordPress fonts need to upload with Google fonts?
- Method Not Implemented GET to wp-admin/post.php not supported
- When sorting WP_List_Table, table sorts, but I also get SQL errors
- 403 Forbidden error nginx
- Getting 404 error on homepage only
- ‘Invalid Error’ when saving theme options – only in Google Chrome
- Fatal error, is this because of host?
- WordPress cracked? Posts not found in dashboard
- What are the issues using the Test Cookie Fix?
- Multiple use wp_logout_url() on page cause ‘header already sent’ error after submit form
- How do I fix this: syntax error, unexpected ‘:’, expecting ‘)’
- Plugin.php not found
- Getting an error on a new website
- Fatal error: Uncaught Error: Call to undefined function add_action()
- functions.php pharse error on complete new install
- Fatal error for category archives
- call_user_func_array() error on my blog
- 403. You don’t have permission to access this resource error
- How to identify the origin of an issue or an unexpected behavior?
- Error Warning: Invalid argument supplied for foreach()
- 404 Not Found Error showing when I run wordpress
- Gtmetrix: avoid bad requests
- Forbidden permission and editor error after update to WordPress 5.1.1
- CSS and JS not loading after uploading onto server
- D_FILE already defined in /home/staneppsjr/public_html/wp-config.php on line 82
- How to fix this CORS error?
- Regular 503 error every 5 minutes for logged in users
- One page is showing the “Index of /” error
- BuddyPress: bp-core-template-loader.php error blocking access to wp-admin
- What is the source of “HTTP error,” and
- 403 Forbidden on site logo image upload
- TOO MANY REDIRECTS ERROR when redirecting buddypress register page to WordPress sign up
- WordPress installation self deleted in server restart. SQL Tables gone too!
- How to fix 502 errors on my WordPress site hosted on Windows Azure that only occur when I update a post?
- Error thrown Cannot use object of type WP_Error as array
- How to handle PHP parse errors?
- Where can I get a full list of wordpress errors in plain text?
- WordPress doesn’t recognise my email address and I’m missing the wp-config file in PHPmyadmin cPanel to make alterations
- Fixing this error “A description for this result is not available because of this site’s robots.txt”
- Fatal error: Call to a member function update() on a non-object in my resturant plugin file restaurants.php
- Fatal error: require(): Failed opening required ‘load.php’
- Can (slow) Internet speed get you a 500 server error? [closed]
- Better error messages upon critical errors – HTTP Error 500
- How to fix Notice: unserialize(): Error at offset 12620 of 12651 bytes error?
- syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) [closed]
- Error code 499 on specific cron job
- Please Help Me, How to Fix PHP Error Undefined Array Key “srcset”
- My websit dosent worke http errors 500
- 403 forbidden in admin console: fix seems to be temporary and then error is back