Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after updating to 3.9.0 #203

Closed
aa12stepoffice opened this issue Oct 31, 2020 · 58 comments
Closed

Error after updating to 3.9.0 #203

aa12stepoffice opened this issue Oct 31, 2020 · 58 comments

Comments

@aa12stepoffice
Copy link

I installed the latest plugin update and it caused an error which crashed my site (running WordPress 5.5.3 and viewing site on google chrome):

An error of type E_ERROR was caused in line 33 of the file /home/aamelbou/public_html/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php. Error message: Uncaught Error: Call to undefined function db_update_addresses_cache_approximate_location() in /home/aamelbou/public_html/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php:33 Stack trace: #0 /home/aamelbou/public_html/wp-includes/class-wp-hook.php(287): tsml_admin_init('') #1 /home/aamelbou/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/aamelbou/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/aamelbou/public_html/wp-admin/admin.php(175): do_action('admin_init') #4 /home/aamelbou/public_html/wp-admin/index.php(10): require_once('/home/aamelbou/...') #5 {main} thrown

I rolled back to version 3.8.0 which restored the site but the plugin is still not working. When I visit https://aamelbourne.org.au/meetings it redirects to https://aamelbourne.org.au/tsml_group/meetings-with-bill-by-the-bay-group/.

Please let me know if I have not provided enough information.

Michael K

@julien-paris
Copy link

Hi folks, exact same problem here.
I was also locked out of admin.
I disabled the plugin by renaming it in FTP and the site is back up, but without the meetings.

@richieboo
Copy link

Same at South Jersey Intergroup. With WordPress 5.5.3, entering recovery mode, I can see the same error reported by aa12stepoffice when I view Plugins on Admin side, is the error that is reported.

@Bdrv
Copy link

Bdrv commented Oct 31, 2020

Same at Miami Valley Ohio Intergroup (Dayton). Running WP 5.5.3, had to disable 12-Step Meeting plugin to restore website. https://al-anondaytonoh.org

@k8fish3r
Copy link

Is a fix coming ? Should we each restore earlier point and disable these automatic updates coming through to stop 12sml sending the update again?

Thankful for the programme existing but hoping to save out website being taken down by the plugin is top priority,

@k8fish3r
Copy link

We're at "critical error on your website territory - login to admin but not much more

@tech2serve
Copy link
Contributor

I'm looking at this now. Based on the report, I believe I know what is happening, just not sure why since this did not occur in testing.

@eviaatech
Copy link

We are experiencing the same error. Plugin is currently disabled on our site as well.

@eviaatech
Copy link

eviaaweb.org is our site

@Grateful-Viv
Copy link

Same here. Started this on a staging site by rolling back to a version from 2 weeks ago. Everything installed fine and was able to see the front end, but could no longer get to any admin back end areas.

@tech2serve
Copy link
Contributor

@Grateful-Viv, Glad you're here. In a few minutes, I'm going to release v3.9.1-b, and would appreciate if you could test it?

@richieboo
Copy link

I can test it too.. for aasj.org - [email protected]

@tech2serve
Copy link
Contributor

For those who already know how to manually install plugins, you can try this beta version. Please report results as soon as you can.

For those who aren't familiar with that process, please be patient as we try to fix the issue. Regrettably, as the issue didn't exist on my site (or that of our initial testers), I'm not 100% confident of the cause.

However, this will remain my priority today until the issue is resolved.

@petermixt
Copy link

For now... I activated recovery mode. I then disabled the plug-in. Then download the 3.9.0 version here in GitHub and install it. The new 3.9 installed/loaded properly for me. Then I deleted the bad version. Done. (for now)

@tech2serve
Copy link
Contributor

@petermixt Please confirm which version you downloaded for GitHub that worked?

@petermixt
Copy link

version that worked for me = 3.9.0 on github
I see you now have a 3.9.1b version too

@richieboo
Copy link

12-step-meeting-list-3.9.1-b worked for https://aasj.org/meetings !!!

Thank you!

@tech2serve
Copy link
Contributor

@petermixt,

It sounds like you pulled the zip using this link?

image

If so, you'd have actually gotten v3.9.1-b, and that + @richieboo's comment would seem to have resolved the issue.

I'll get this bundled up as a release to Wordpress.

@petermixt
Copy link

pulled it yesterday... it read as 3.9.0. But yes the 3.9.1-b is a charmer. Again thank you for a WONDERFUL plug-in.

@eviaatech
Copy link

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

@richieboo
Copy link

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

Your console log seems to be complaining about the Divi customizer. Might try to customize something again to rewrite some caching?

@eviaatech
Copy link

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

Your console log seems to be complaining about the Divi customizer. Might try to customize something again to rewrite some caching?

I customized a couple things, but I do not know how to rewrite any caching. Still getting the error. Even after disabling and reinstalling the plugin, the theme errors are present.

@tech2serve
Copy link
Contributor

I have released v3.9.1 to Wordpress. If you're able, please pull that down and make sure the plugin loads correctly (i.e., no error of type E_ERROR was caused in line 33).

I do apologize for the inconvenience. Our team will discuss today what wasn't sufficient in our process to see if we can determine the root cause. As I said, this was unexpected as none of us, nor our gracious beta testers, experienced the issue with the last release candidate.

The error noted in this issue appears to have been related to how some functions were being loaded, and because of this path error, the plugin didn't load correctly. It is very (extremely) unlikely that this issue directly caused any other problems with your site. If you continue to experience problems not related to the initial bug report, please look into other causes. I'm happy to help you and we won't rule out other issues with the plugin.

Thank you all for participating with me this morning to get this resolved. We're always looking for more beta testers. Please see our Beta Testing Guide.

@tech2serve
Copy link
Contributor

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

@eviaatech, I'm inclined to agree with @richieboo:

image

In looking at your site, you seem to have an issue with cache or the theme itself. If I've found the right theme online, this link might help explain how to clear the cache?

@tech2serve
Copy link
Contributor

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

@eviaatech, I'm inclined to agree with @richieboo:

image

In looking at your site, you seem to have an issue with cache or the theme itself.

I rolled back to version 3.8.0 which restored the site but the plugin is still not working. When I visit https://aamelbourne.org.au/meetings it redirects to https://aamelbourne.org.au/tsml_group/meetings-with-bill-by-the-bay-group/.

@aa12stepoffice, please go to Wordpress Settings-->Permalinks, and scroll down and then "save". That should refresh the links, and hopefully cause your meetings to display again.

@eviaatech
Copy link

3.9.1-b fixed meeting page, but theme/appearance is affected. Debugging some more. Home page went to white screen with text. Footer is black now.

@eviaatech, I'm inclined to agree with @richieboo:

image

In looking at your site, you seem to have an issue with cache or the theme itself. If I've found the right theme online, this link might help explain how to clear the cache?

Cleared the cache. Turned off the CSS Static File Generation. Opened site. Turned it back on. All is good. Thank you for web servants with more experience than I! Thanks to tech2serve for quick response to the issue and a fix!

@tech2serve
Copy link
Contributor

Again, I apologize for the the troubles. Luckily, because of our friends in other time zones, the issue was caught quickly and overall the impact will (pray-fully) be minimal.

You will see a v3.9.2 get released here shortly. This is really just a version bump because I missed updating one of the version numbers in the readme.txt, so the incorrect version is showing on Wordpress. Sigh....

@eviaatech
Copy link

eviaatech commented Oct 31, 2020 via email

@machouinard
Copy link
Contributor

Just ran into this issue, trying to catch up.

Still having trouble with 3.9.2. Seems there is no includes/database_updates.php file in the WP repo, either in trunk or /tags/3.9.2

https://plugins.svn.wordpress.org/12-step-meeting-list/tags/3.9.2/includes/

@OIG-Webmaster
Copy link

The latest version 3.9.2 just killed our site. I've had to go in through a term and remove it. I was hoping the version you have up now would fix it, but apparently, it's the problem.

@virtualtom
Copy link

Yes, it appears that the install of 3.9.2 is missing /includes/database_updates.php. I get these errors on activation:

Warning: include_once(/homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list//includes/database_updates.php): failed to open stream: No such file or directory in /homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list/includes/functions.php on line 4

Warning: include_once(): Failed opening '/homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list//includes/database_updates.php' for inclusion (include_path='.:/usr/lib/php7.3') in /homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list/includes/functions.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list/includes/functions.php:4) in /homepages/18/d767263127/htdocs/app793772400/wp-includes/functions.php on line 6271

Fatal error: Uncaught Error: Call to undefined function db_update_addresses_cache_approximate_location() in /homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php:33 Stack trace: #0 /homepages/18/d767263127/htdocs/app793772400/wp-includes/class-wp-hook.php(287): tsml_admin_init('') #1 /homepages/18/d767263127/htdocs/app793772400/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /homepages/18/d767263127/htdocs/app793772400/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /homepages/18/d767263127/htdocs/app793772400/wp-admin/admin.php(175): do_action('admin_init') #4 /homepages/18/d767263127/htdocs/app793772400/wp-admin/plugins.php(10): require_once('/homepages/18/d...') #5 {main} thrown in /homepages/18/d767263127/htdocs/app793772400/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php on line 33
There has been a critical error on your website. Please check your site admin email inbox for instructions.

@Trundlore
Copy link

getting the same error with 3.9.2. not sure if we had the problem with 3.9.0

An error of type E_ERROR was caused in line 33 of the file /srv/htdocs/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php. Error message: Uncaught Error: Call to undefined function db_update_addresses_cache_approximate_location() in /srv/htdocs/wp-content/plugins/12-step-meeting-list/includes/admin_meeting.php:33 Stack trace: #0 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): tsml_admin_init('') #1 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /wordpress/core/5.5.3/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /wordpress/core/5.5.3/wp-admin/admin.php(175): do_action('admin_init') #4 /wordpress/core/5.5.3/wp-admin/plugins.php(10): require_once('/wordpress/core...') #5 {main} thrown

@tech2serve
Copy link
Contributor

@Trundlore @virtualtom --

Please try v3.9.3.

@Trundlore
Copy link

@Trundlore @virtualtom --

Please try v3.9.3.

seems to have sorted it.
many thanks for your service

@virtualtom
Copy link

Version 3.9.3 fixed my problems!

Thank you for the fast work!

@eviaatech
Copy link

eviaatech commented Oct 31, 2020 via email

@julien-paris
Copy link

3.9.3 is a full fix for me.
That was resolved at lightening speed. Thanks so much!

@district6wc
Copy link

I'm still getting these errors and I am unable to log into the wp dashboard. I have deactivated the plugin, but version is not being recognized back to 3.9.0 Please help...

Warning: include_once(/home/izgr1zclaxch/public_html/wp-content/plugins/12-step-meeting-list/includes/database_updates.php): failed to open stream: No such file or directory in /home/izgr1zclaxch/public_html/wp-content/plugins/12-step-meeting-list/includes/functions.php on line 3

Wa

@aa12stepoffice
Copy link
Author

Just installed version 3.9.3 and our meetings page is fixed!

@tech2serve Thank you for the speedy response, and for your service.

@kcristiano
Copy link

I've had the same issues as desribed by @district6wc

I updated and had the fatal error, rolled back. I then tried 3.9.2 and 3.9.3 via the WP built in update system.

On both versions it was missing the file 12-step-meeting-list//includes/database_updates.php

I downloaded the file directly from https://downloads.wordpress.org/plugin/12-step-meeting-list.3.9.3.zip and compared to the master branch of github. The file was there.

I then updated to using a git checkout and version 3.9.3 works fine.

WP 5.4.4, php 7.4 is what we are using.

I have no idea why the WP updater is causing the file to not be included, but I do think getting a copy from github or downloading directly from the plugin repo is the ay to go if you are having issues.

@tech2serve
Copy link
Contributor

I'm still getting these errors and I am unable to log into the wp dashboard. I have deactivated the plugin, but version is not being recognized back to 3.9.0 Please help...

Warning: include_once(/home/izgr1zclaxch/public_html/wp-content/plugins/12-step-meeting-list/includes/database_updates.php): failed to open stream: No such file or directory in /home/izgr1zclaxch/public_html/wp-content/plugins/12-step-meeting-list/includes/functions.php on line 3

Wa

@district6wc, I think some screen caps of what you're seeing would help me. In particular, I'm confused by the statements that you're not able to log into the Wordpress dashboard, but that you disabled the plugin.

If you're able to log into the admin side of your Wordpress site, and you should be able to, then try performing these steps:

  1. Click on Plugins

  2. Determine which version of the TSML plugin is installed

    image

  3. If not showing 3.9.3, please update to latest version.

Let me know where you stand at that point, please.

@tech2serve
Copy link
Contributor

I have no idea why the WP updater is causing the file to not be included, but I do think getting a copy from github or downloading directly from the plugin repo is the ay to go if you are having issues.

@kcristiano Thanks for the comment. I do now know why the missing file was not being included through the Wordpress site; the short version is that it was my deployment process error.

However, the v3.9.3 on the Wordpress site is correct and includes all the necessary files. Users ought to be able to update their sites to v3.9.3 now using Wordpress. Nobody should need to manually drop any files in place from GitHub.

Well, that is how is should be now :-)

@district6wc
Copy link

district6wc commented Oct 31, 2020

12steppluginversion

I have pasted a screenshot of plugin. when I activate, I can no longer access the wp-admin. Right now, I have renamed the 12 Step Meeting List folder so I can get to the dashboard. I apologize if I am not explaining it correctly.

my website is new.alanonalateen6nc.org

I know you have been working hard on this to fix. I cannot pull up my meetings at all.

@tech2serve
Copy link
Contributor

@district6wc That is correct. Please update to v3.9.3 using "update now" first. Then activate the plugin, and all should be good.

@district6wc
Copy link

@district6wc That is correct. Please update to v3.9.3 using "update now" first. Then activate the plugin, and all should be good.

plugin is activated and I see this error on page and can no longer get to plugin from the dashboard.:

image

Here is the some of the contents of the /includes/function.php file line 3

'; print_r($array); exit; } }

@tech2serve
Copy link
Contributor

Hmmm. Very strange that functions.php is missing as that isn't the file we had problems with earlier.

Who is your hosting provider? Are you able to access files through ftp or your hosting platform c-panel or dashboard?

@district6wc
Copy link

yes, I have been able to access through cpanel/file manager. the functions.php file is not missing.

@tech2serve
Copy link
Contributor

tech2serve commented Oct 31, 2020

My mistake.

In reading the message, I'm suspecting your functions.php file is not getting updated with the Wordpress update process. Are you able to inspect the functions.php file?

Admittedly, and assuming you have a good backup of your meeting information, the easiest and quickest solution for you might be to delete the 12-step-meeting-list folder from your plugins directory, and reinstall it. Actually, that should not affect your meeting data, but it is always best to have a back up of the data handy.

@machouinard
Copy link
Contributor

machouinard commented Oct 31, 2020

I'd make sure the plugin is actually updated to 3.9.3. The error is that in line 3 of functions.php it's trying to load database_updates.php and that's the file it's not finding ( because it wasn't there in earlier versions ).

I 2nd the idea of just deleting TSML and reinstalling.

@tech2serve
Copy link
Contributor

Yeah. According to the error shown in the screen cap, the problem include is on line 3. However, in v3.9.3, that include moved to line 4.

So, it does appear something on @district6wc's site is not actually updating the plugin even though it may be reporting as such.

@machouinard
Copy link
Contributor

Can always change the plugin version in the main file to 3.9.1 to force the update availability.

Is there any hardcore caching on the site?

@district6wc
Copy link

I have downloaded the new version. replaced function.php file with new one. now error is showing on line 4.

https://downloads.wordpress.org/plugin/12-step-meeting-list.3.9.3.zip.

@machouinard
Copy link
Contributor

@district6wc did you replace the entire plugin folder or just the functions.php file?

@tech2serve
Copy link
Contributor

If you only replaced the functions.php, that won't work.

Your best bet at this stage is to delete the plugin folder and then install from scratch. Your data should be untouched.

@district6wc
Copy link

district6wc commented Oct 31, 2020

ok, I will do that after I take a break. Thank you so much!! I love the plug-in!!

I have deleted and reinstalled and now have my meetings list back. Thank you!!! Whew....sigh

@tech2serve
Copy link
Contributor

I think we've addressed all the concerns raised in this thread, so I'm going to close it.

If I missed anyone, please open a new issue.

@district6wc
Copy link

district6wc commented Nov 2, 2020 via email

@eviaatech
Copy link

eviaatech commented Nov 6, 2020 via email

@district6wc
Copy link

district6wc commented Nov 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests