WordPress.org

Ready to get started?Download WordPress

Forums

Cool Author Box
Plugin could not be activated because it triggered a fatal error. (4 posts)

  1. devlos
    Member
    Posted 3 years ago #

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in E:\wamp\__WAMP\www\wordpress\wp-content\plugins\cool-author-box\cool-author-box.php on line 50
    
    Call Stack
    # Time	  Memory     Function	                Location
    1 0.0017  962200     {main}( )	                ..\plugins.php:0
    2 0.2122  31527720   plugin_sandbox_scrape( )	..\plugins.php:151
  2. karkei
    Member
    Posted 3 years ago #

    I have a similar error

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in C:\Users\ksanders\Documents\SnapLab\apps\wordpress\htdocs\wp-content\plugins\cool-author-box\cool-author-box.php on line 50

  3. karkei
    Member
    Posted 3 years ago #

    [Code moderated as per the Forum Rules. Please use the pastebin]

  4. usmile0926
    Member
    Posted 2 years ago #

    karkei,
    I had the same problem as yours. It's a very easy fix. Go to the file, cool-author-box.php. And you'll see this code from line 48 to line 50:

    <div>

    ';

    Just change it to this:

    <div>'

    ;

    That's it. Now, when you go to activate the plug-in, it should work. It worked for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic