• Resolved w8tts

    (@w8tts)


    After the last update (this AM) we got the following error. To allow our site to run we had to remove your WP Go Maps plugin by renaming its plugin folder to with “-HIDDEN”

    PHP Fatal error: Uncaught Error: Call to undefined method WPGMZA\Integration\ProGutenberg::getVersion() in /home/usisland/public_html/wp-content/plugins/wp-google-maps-pro/includes/3rd-party-integration/class.pro-gutenberg.php:28

    Stack trace: 0 /home/usisland/public_html/wp-includes/class-wp-hook.php(308): WPGMZA\Integration\ProGutenberg->onEnqueueBlockAssets(”) 1 /home/usisland/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 2 /home/usisland/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /home/usisland/public_html/wp-includes/script-loader.php(2390): do_action(‘enqueue_block_a…’) 4 /home/usisland/public_html/wp-includes/class-wp-hook.php(308): wp_common_block_scripts_and_styles(”) 5 /home/usisland/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/usisland/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/usisland/public_html/wp-includes/script-loader.php(2194): do_action(‘wp_enqueue_scri… in /home/usisland/public_html/wp-content/plugins/wp-google-maps-pro/includes/3rd-party-integration/class.pro-gutenberg.php on line 28

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Are you certain your updated version extracted all of the files properly? I’ve found that sometimes a plugin doesn’t finish installing/updating properly (or gets caught mid-update) to find it’s then wanting to call a function/etc. that’s missing due to the file that’s defined in currently being missing (usually most common when the website’s hosting environment interrupted the upgrade, it’s in the process of updating & that error was triggered with it then being okay once it finishes the update, or something similar to that.)

    Also, it’s probably worth noting that this error seems to be regarding the Pro add-on rather than the specific plugin here (free plugin) per the folder name & things mentioned in the error details of where the undefined method was called from (“wp-google-maps-pro/includes/3rd-party-integration/class.pro-gutenberg.php” on line 28 with it also calling “ProGutenberg” which also points to what’s being called & is missing as something that’s likely entirely within the Pro add-on [it 100% isn’t in the free version’s code anywhere.])

    While I don’t have the latest version of the Pro add-on to test at the moment, myself, I’d be somewhat surprised if this error is larger than it just not finishing updating/installing properly given your specific website’s hosting environment/setup since trying to call something that’s undefined really isn’t something that should be conditional (would be encountered by everyone when that code’s executed) nor able to slip through into an officially released version (any amount of testing should’ve found it to then be fixed before release unless that code is really only ever tried to be used in rare situations.) Compared to the larger possibility that your hosting might’ve just had a hiccup that caused an issue (files for the plugin were left as missing) that just happened to occur with this one plugin for any number of reasons your hosting provider would need to then look into (very specific to a given hosting provider/setup where some never encounter anything like this while others are much more likely [then usually no fault of the plugin it happened with] due to any number of factors.)

    If that doesn’t turn out to be the problem (making sure it fully uploaded/extracted all of the Pro add-on’s files), you might find better results in going to https://www.wpgmaps.com/forums/forum/pro-add-on/ and mentioning the issue there as that’s the support forum that’s dedicated to those that have purchased the Pro add-on to discuss things in further detail for Pro-specific support.

    Thread Starter w8tts

    (@w8tts)

    I’m not certain of anything. There was one plugin noted for update, i did that, there the sub-plugin popped up as needing updated, the the other sub-plugin popped up as needing updated. Then the main plugin popped up again, and I knew I was in trouble. I went to the site and bang there was the error.

    @w8tts Have you tried re-uploading the files for both the free & Pro add-on plugins via (S)FTP or a hosting control panel to make sure there are no missing files? That might be the next step here.

    If it’s confirmed that you’ve manually uploaded the latest files for both of these plugins & nothing’s missing (per what was used to upload these files giving no errors [something that WordPress’ plugin update feature doesn’t really surface by default]) and it’s still giving that same error, then I’d probably recommend reporting the issue via https://www.wpgmaps.com/forums/forum/pro-add-on/ to get that issue resolved via the Pro add-on’s support forum.

    Btw, the main (free) plugin did receive 2 updates today (there was a bug that was happening with those running PHP 7.2.x that the subsequent release fixed) so you updating it to then update it again (while maybe a seeming a bit odd) likely has nothing to do with this issue. Seems like you just went through the normal plugin update process & simply encountered an error with the Pro add-on after doing so (the possibility that I explained of the plugin not finishing updating properly can also be more likely on some hosting environments when chaining together updates where one update might halt the other; again, shouldn’t really be a thing that happens as long as the hosting environment is adequate, but sometimes hosting setups simply aren’t ideal.)

    Thread Starter w8tts

    (@w8tts)

    I’m not certain of anything. There was one plugin noted for update, i did that, there the sub-plugin popped up as needing updated, the the other sub-plugin popped up as needing updated. Then the main plugin popped up again, and I knew I was in trouble. I went to the site and bang there was the error. I posted the error on ?https://www.wpgmaps.com/forums/forum/pro-add-on/?

    @w8tts Huh? I suggested that you manually re-upload the plugin files and you just repeated what you just said before my message giving no further information regarding anything else I said other than how this should probably be mentioned in the Pro add-on’s support & how you posted the issue there…?

    Hopefully the pro add-on’s support can help, but they might suggest the same thing you seem to have ignored here (make sure you’ve fully installed the latest version of everything using a method outside of WordPress for better reliability & feedback on individual details.)

    Thread Starter w8tts

    (@w8tts)

    I don’t know what happened. That’s not what I typed.

    Thread Starter w8tts

    (@w8tts)

    The author was aware of the problem and had an update to version 9.0.22? of WP Go Maps.

    @w8tts Ah, so manually updating the plugin to the latest version fixed the issue? It’d probably be good to mark this topic as resolved, if so. ??

    Thread Starter w8tts

    (@w8tts)

    Will do.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP Fatal error after last upgrade’ is closed to new replies.