• ResolvedPlugin Author Hector Cabrera

    (@hcabrera)


    Hey everyone!

    Version 6.3.0 is triggering a fatal error on activation / upgrade so if you’re affected by this issue and cannot access your WP Dashboard:

    1. Disable the wordpress-popular-posts plugin either via FTP or phpMyAdmin.
    2. Once you regain access to your WP Dashboard, download version 6.2.1 from here.
    3. Go to Plugins > Add New and click on Upload Plugin to manually install version 6.2.1.
    4. Click on the browse button to select the zip file you just downloaded on step to, then click on Install Now to install 6.2.1 and follow the on-screen instructions.

    If everything went fine your site should be running normally again and your popular posts list should be working as expected.

    Apologies for the inconveniences. I’m currently looking into fixing version 6.3 so I can re-release it again for everyone.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Update: fixed with version 6.3.1. Please update as soon as you can.

    It blew up my sites but I rolled back to the previos version.

    Thank you for pushing out a fix so quickly.

    Hi Hector, just updated to version 6.3.1, fatal error disappeared, but instead of displaying popular posts its giving me errors:

    Warning: Undefined property: WordPressPopularPosts\Shortcode\Posts::$config

    error shows in …wp-content/plugins/wordpress-popular-posts/src/Traits/QueriesPosts.php?on line?29

    Plugin Author Hector Cabrera

    (@hcabrera)

    Looks like there will be yet another release soon haha. Thanks for reporting, @adammichael.

    With that being said, that’s a PHP notice and it’s safe to ignore for the time being. Please make sure that WP_DEBUG is set to ‘false’ in your site’s wp-config.php file (assuming it’s a live website and not a development / test one).

    • This reply was modified 1 year, 2 months ago by Hector Cabrera. Reason: Reworded for clarity
    Plugin Author Hector Cabrera

    (@hcabrera)

    @adammichael oddly enough I cannot replicate that issue, I get no notices at all.

    Anyways, please try this and let me know how it goes:

    1. Go to Plugins > Plugin File Editor and select WordPress Popular Posts.
    2. Click on src > Shortcode > Posts.php to edit this file.
    3. Replace the contents of Posts.php with this version.
    4. Click on Update File to save changes.

    its working

    Thanks for resolving so quickly

    When I tried to replace the code with the new version, this is what I got:

    Your PHP code changes were not applied due to an error on line 270 of file wp-content/plugins/wordpress-popular-posts/src/Shortcode/Posts.php. Please fix and try saving again.syntax error, unexpected token “*”, expecting end of file

    Plugin Author Hector Cabrera

    (@hcabrera)

    That’s probably a copy & paste error @bookofjohn so it might be best to wait for me to release version 6.3.2 which should happen within the next 2-3 hours.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP Fatal Error with version 6.3.0’ is closed to new replies.