This topic has 20 replies, 6 voices, and was last updated 9 years by sedmorders.
-
Author
Tagged: Kleo 3.0 upgrade problems
-
June 11, 2015 at 17:09 #62047sedmordersParticipant
After manually upgrading kleo from 2.3.4 to 3.0 and activating plugins one at a time, the PmPro bbPress plugin consistently fails with the following error after clicking on “Activate”:
PHP Fatal error: Call to protected TGM_Plugin_Activation::__construct() from invalid context in C:\Inetpub\vhosts\zzz.org\httpdocs\wp-content\plugins\pmpro-bbpress\class-tgm-plugin-activation.php on line 953
Is there something wrong with Kleo 3.0? Can you tell me how to fix it? Everything else appears to work properly. Using bbPress 2.5.7 and PmPro bbPress Add On version 1.2 and PmPro 1.8.4.2 and WordPress 4.2.2. Running on Windows Server 2012R2 with Plesk 12.0.18.
Here are the stats on my system using the Theme-Options->System Info from within Kleo:
System info
System information useful for support problems
Array
(
[home_url] => http://zzz.org
[site_url] => http://zzz.org
[redux_data_writeable] => true
[wp_content_url] => http://zzz.org/wp-content
[wp_ver] => 4.2.2
[wp_multisite] =>
[permalink_structure] => /%postname%/
[front_page_display] => page
[front_page] => Home (#7211)
[posts_page] => Blog (#7428)
[wp_mem_limit] => Array
(
[raw] => 41943040
[size] => 40 MB
)[db_table_prefix] => Length: 3 – Status: Acceptable
[wp_debug] => false
[wp_lang] => en_US
[browser] => Array
(
[agent] => Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
[browser] => Mozilla
[version] => 5.0
[platform] => Windows
)[server_info] => Microsoft-IIS/8.5
[localhost] => false
[php_ver] => 5.5.25
[abspath] => C:\Inetpub\vhosts\zzz.org\httpdocs/
[php_mem_limit] => 256 MB
[php_post_max_size] => 8 MB
[php_time_limit] => 300
[php_max_input_var] => 1000
[php_display_errors] => false
[suhosin_installed] =>
[mysql_ver] => 5.1.73
[max_upload_size] => 8 MB
[def_tz_is_utc] => true
[fsockopen_curl] => true
[wp_remote_post] => true
[wp_remote_post_error] =>
[wp_remote_get] => true
[wp_remote_get_error] =>
[plugins] => Array
(
[All-in-One Event Calendar by Time.ly] => Array
(
[Name] => All-in-One Event Calendar by Time.ly
[PluginURI] => http://time.ly/
[Version] => 2.2.1
[Description] => A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds. By Time.ly Network Inc..
[Author] => Time.ly Network Inc.
[AuthorURI] => http://time.ly/
[TextDomain] => all-in-one-event-calendar
[DomainPath] => /language
[Network] =>
[Title] => All-in-One Event Calendar by Time.ly
[AuthorName] => Time.ly Network Inc.
)[Antispam Bee] => Array
(
[Name] => Antispam Bee
[PluginURI] => http://antispambee.com
[Version] => 2.6.7
[Description] => Easy and extremely productive spam-fighting plugin with many sophisticated solutions. Includes protection again trackback spam. By Sergej Müller.
[Author] => Sergej Müller
[AuthorURI] => http://wpcoder.de
[TextDomain] => antispam_bee
[DomainPath] => /lang
[Network] =>
[Title] => Antispam Bee
[AuthorName] => Sergej Müller
)[bbPress Enable TinyMCE Visual Tab] => Array
(
[Name] => bbPress Enable TinyMCE Visual Tab
[PluginURI] => http://wordpress.org/extend/plugins/bbpress-enable-tinymce-visual-tab/
[Version] => 1.0.1
[Description] => This plugin activates the visual tab for the bbPress TinyMCE editor and provides a few other options. By Jared Atchison.
[Author] => Jared Atchison
[AuthorURI] => http://jaredatchison.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => bbPress Enable TinyMCE Visual Tab
[AuthorName] => Jared Atchison
)[bbPress] => Array
(
[Name] => bbPress
[PluginURI] => http://bbpress.org
[Version] => 2.5.7
[Description] => bbPress is forum software with a twist from the creators of WordPress. By The bbPress Community.
[Author] => The bbPress Community
[AuthorURI] => http://bbpress.org
[TextDomain] => bbpress
[DomainPath] => /languages/
[Network] =>
[Title] => bbPress
[AuthorName] => The bbPress Community
)[BP Profile Search] => Array
(
[Name] => BP Profile Search
[PluginURI] => http://www.dontdream.it/bp-profile-search/
[Version] => 4.2.2
[Description] => Search your BuddyPress Members Directory. By Andrea Tarantini.
[Author] => Andrea Tarantini
[AuthorURI] => http://www.dontdream.it/
[TextDomain] => bps
[DomainPath] => /languages
[Network] =>
[Title] => BP Profile Search
[AuthorName] => Andrea Tarantini
)[BuddyPress Cover Photo] => Array
(
[Name] => BuddyPress Cover Photo
[PluginURI] => http://seventhqueen.com
[Version] => 1.1
[Description] => Allows Users to upload Cover photo to their profiles and to Groups By SeventhQueen.
[Author] => SeventhQueen
[AuthorURI] => http://seventhqueen.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => BuddyPress Cover Photo
[AuthorName] => SeventhQueen
)[BuddyPress] => Array
(
[Name] => BuddyPress
[PluginURI] => https://buddypress.org/
[Version] => 2.3.1
[Description] => BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more. By The BuddyPress Community.
[Author] => The BuddyPress Community
[AuthorURI] => https://buddypress.org/
[TextDomain] => buddypress
[DomainPath] => /bp-languages/
[Network] =>
[Title] => BuddyPress
[AuthorName] => The BuddyPress Community
)[Contact Form Maker] => Array
(
[Name] => Contact Form Maker
[PluginURI] => http://web-dorado.com/products/form-maker-wordpress.html
[Version] => 1.7.30
[Description] => This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms. By WebDorado.
[Author] => WebDorado
[AuthorURI] => http://web-dorado.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Contact Form Maker
[AuthorName] => WebDorado
)[Download Manager] => Array
(
[Name] => Download Manager
[PluginURI] => http://www.wpdownloadmanager.com/
[Version] => 2.7.93
[Description] => Manage, Protect and Track File Downloads from your WordPress site By Shaon.
[Author] => Shaon
[AuthorURI] => http://www.wpdownloadmanager.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Download Manager
[AuthorName] => Shaon
)[WPBakery Visual Composer] => Array
(
[Name] => WPBakery Visual Composer
[PluginURI] => http://vc.wpbakery.com
[Version] => 4.5.2
[Description] => Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required. By Michael M – WPBakery.com.
[Author] => Michael M – WPBakery.com
[AuthorURI] => http://wpbakery.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => WPBakery Visual Composer
[AuthorName] => Michael M – WPBakery.com
)[K Elements] => Array
(
[Name] => K Elements
[PluginURI] =>
[Version] => 3.0
[Description] => WordPress elements using easy to add shortcodes By SeventhQueen.
[Author] => SeventhQueen
[AuthorURI] => http://seventhqueen.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => K Elements
[AuthorName] => SeventhQueen
)[Paid Memberships Pro] => Array
(
[Name] => Paid Memberships Pro
[PluginURI] => http://www.paidmembershipspro.com
[Version] => 1.8.4.2
[Description] => Plugin to Handle Memberships By Stranger Studios.
[Author] => Stranger Studios
[AuthorURI] => http://www.strangerstudios.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Paid Memberships Pro
[AuthorName] => Stranger Studios
)[PMPro Roles] => Array
(
[Name] => PMPro Roles
[PluginURI] => http://joshlevinson.me
[Version] => 1.0
[Description] => Adds a WordPress Role for each Membership Level with Display Name = Membership Level Name and Role Name = ‘pmpro_role_X’ (where X is the Membership Level’s ID). By Josh Levinson.
[Author] => Josh Levinson
[AuthorURI] => http://joshlevinson.me
[TextDomain] => pmpro-roles
[DomainPath] => /pmpro-roles
[Network] =>
[Title] => PMPro Roles
[AuthorName] => Josh Levinson
)[Paid Memberships Pro – WooCommerce Add On] => Array
(
[Name] => Paid Memberships Pro – WooCommerce Add On
[PluginURI] => http://www.paidmembershipspro.com/pmpro-woocommerce/
[Version] => 1.2.9
[Description] => Integrate WooCommerce with Paid Memberships Pro. By Stranger Studios.
[Author] => Stranger Studios
[AuthorURI] => http://www.strangerstudios.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Paid Memberships Pro – WooCommerce Add On
[AuthorName] => Stranger Studios
)[Taxonomy Metadata] => Array
(
[Name] => Taxonomy Metadata
[PluginURI] =>
[Version] => 0.4
[Description] => Infrastructure plugin which implements metadata functionality for taxonomy terms, including for tags and categories. By mitcho (Michael Yoshitaka Erlewine), sirzooro.
[Author] => mitcho (Michael Yoshitaka Erlewine), sirzooro
[AuthorURI] => http://mitcho.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Taxonomy Metadata
[AuthorName] => mitcho (Michael Yoshitaka Erlewine), sirzooro
)[TinyMCE Advanced] => Array
(
[Name] => TinyMCE Advanced
[PluginURI] => http://www.laptoptips.ca/projects/tinymce-advanced/
[Version] => 4.1.9
[Description] => Enables advanced features and plugins in TinyMCE, the visual editor in WordPress. By Andrew Ozz.
[Author] => Andrew Ozz
[AuthorURI] => http://www.laptoptips.ca/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => TinyMCE Advanced
[AuthorName] => Andrew Ozz
)[UpdraftPlus – Backup/Restore] => Array
(
[Name] => UpdraftPlus – Backup/Restore
[PluginURI] => https://updraftplus.com
[Version] => 1.10.3
[Description] => Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules. By UpdraftPlus.Com, DavidAnderson.
[Author] => UpdraftPlus.Com, DavidAnderson
[AuthorURI] => https://updraftplus.com
[TextDomain] => updraftplus
[DomainPath] => /languages
[Network] =>
[Title] => UpdraftPlus – Backup/Restore
[AuthorName] => UpdraftPlus.Com, DavidAnderson
)[BeanStream Gateway for WooCommerce] => Array
(
[Name] => BeanStream Gateway for WooCommerce
[PluginURI] => http://www.patsatech.com
[Version] => 1.2
[Description] => WooCommerce Plugin for accepting payment through BeanStream Gateway. By PatSaTECH.
[Author] => PatSaTECH
[AuthorURI] => http://www.patsatech.com
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => BeanStream Gateway for WooCommerce
[AuthorName] => PatSaTECH
)[WooCommerce] => Array
(
[Name] => WooCommerce
[PluginURI] => http://www.woothemes.com/woocommerce/
[Version] => 2.3.11
[Description] => An e-commerce toolkit that helps you sell anything. Beautifully. By WooThemes.
[Author] => WooThemes
[AuthorURI] => http://woothemes.com
[TextDomain] => woocommerce
[DomainPath] => /i18n/languages/
[Network] =>
[Title] => WooCommerce
[AuthorName] => WooThemes
)[Wordfence Security] => Array
(
[Name] => Wordfence Security
[PluginURI] => http://www.wordfence.com/
[Version] => 6.0.6
[Description] => Wordfence Security – Anti-virus, Firewall and High Speed Cache By Wordfence.
[Author] => Wordfence
[AuthorURI] => http://www.wordfence.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Wordfence Security
[AuthorName] => Wordfence
)[WP-Mail-SMTP] => Array
(
[Name] => WP-Mail-SMTP
[PluginURI] => http://www.callum-macdonald.com/code/wp-mail-smtp/
[Version] => 0.9.5
[Description] => Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings. By Callum Macdonald.
[Author] => Callum Macdonald
[AuthorURI] => http://www.callum-macdonald.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => WP-Mail-SMTP
[AuthorName] => Callum Macdonald
)[WP-Optimize] => Array
(
[Name] => WP-Optimize
[PluginURI] => http://wp-optimize.ruhanirabin.com/
[Version] => 1.8.9.10
[Description] => This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution). By Ruhani Rabin.
[Author] => Ruhani Rabin
[AuthorURI] => https://github.com/ruhanirabin/WP-Optimize
[TextDomain] => wp-optimize
[DomainPath] => /languages
[Network] =>
[Title] => WP-Optimize
[AuthorName] => Ruhani Rabin
)[WPDM – Image Button] => Array
(
[Name] => WPDM – Image Button
[PluginURI] => http://www.wpdownloadmanager.com/
[Version] => 2.2.0
[Description] => Use the add-on to replace download link label with a nice button image By Shaon.
[Author] => Shaon
[AuthorURI] => http://www.wpdownloadmanager.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => WPDM – Image Button
[AuthorName] => Shaon
)[WPDM – Extended Short-codes] => Array
(
[Name] => WPDM – Extended Short-codes
[PluginURI] => http://www.wpdownloadmanager.com/
[Version] => 2.3.2
[Description] => WordPress Download Manager Pro Extended Short-Codes By Shaon.
[Author] => Shaon
[AuthorURI] => http://www.wpdownloadmanager.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => WPDM – Extended Short-codes
[AuthorName] => Shaon
)[WPDM – TinyMce Button] => Array
(
[Name] => WPDM – TinyMce Button
[PluginURI] => http://www.wpdownloadmanager.com/
[Version] => 2.3.1
[Description] => TinyMCE Button add-on for WordPress Download Manager v4 and v2.7 By Shaon.
[Author] => Shaon
[AuthorURI] => http://www.wpdownloadmanager.com/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => WPDM – TinyMce Button
[AuthorName] => Shaon
))
[theme] => Array
(
[name] => Kleo Child
[version] =>
[author_uri] => http://seventhqueen.com
[is_child] => false
[parent_name] => Kleo
[parent_version] => 3.0
[parent_author_uri] => http://themeforest.net/user/SeventhQueen
))
June 11, 2015 at 17:52 #62074sharmstrModeratorI’ve confirmed that this is indeed happening. As a workaround I temporarily activated the WP 2015 theme, activated the forum addon, then reactivated Kleo. I’m still getting an error message in the admin, but the plugin appears to be working. See if you can do that for now.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 11, 2015 at 17:55 #62075sharmstrModerator@abe – take a look at this: http://tgmpluginactivation.com/faq/fatal-php-error-1/
Looks like Kleo is using the 2011 version and PMPro for bbpress is using the 2012 version
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 11, 2015 at 18:30 #62093sedmordersParticipantSharmstr,
THanks, but I can’t use another theme and completely change the site waiting for Seventhqueen to fix this upgrade problem. Only choice is to downgrade to Kleo 2.3.4 until you get your act together.
BTW, I tried the fix you suggested but concluded it was unworkable. I’d suggest removing the Kleo 3.0 from Envato until this problem is fixed, because PM Pro support is supposed to be built into your theme and work out of the box.
Please advise when a new update to the them comes out that fixes this problem. In the meantime, back to 2.3.4.
June 11, 2015 at 18:41 #62099sharmstrModeratorActually, I was wrong. I was looking at the copywrite header of the file which wasnt changed and had old dates so I thought it was an old version. Kleo is actually using a newest version of the file 2.4.2. PMPro for bbpress is NOT (version 2.3.6).
Just to be clear, I wasnt suggesting you stay on the 2015 theme. I’m only suggesting you change it to the 2015 until after you enable the plugin.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 11, 2015 at 18:42 #62100sedmordersParticipantI’m also disabling auto-updates on Kleo so I don’t overwrite the old version. I will do the upgrade manually from now on.
Don’t you test this stuff before you release it?
June 11, 2015 at 18:45 #62102sedmordersParticipantYou said there were admin problems after following your workaround, which I was able to reproduce. In fact, the admin login doesn’t work at all! I can’t have a system where the admin doesn’t work.
June 11, 2015 at 18:54 #62103sharmstrModeratorOf course Kleo is tested. But to be fair, the cant test every single plugin/addon that users will install, nor do they claim to work with every plugin/add-on out there. Kleo works with PMPro. I dont recall seeing 7th queen to claim that the bbpress addon works with Kleo. I could be wrong, but since its not a suggested plugin, I dont think I am.
In any case, copying the newer TGM activation file into the bbpress add on folder seems to fix the issue.
– Disable the bbpress addon
– Go to /plugins/pmpro-bbpress/ and rename class-tgm-plugin-activation.php to class-tgm-plugin-activation-old.php
– Go to /themes/kleo/lib/ and copy the class-tgm-plugin-activation.php file and paste it into /plugins/pmpro-bbpress/
– Enable the bbpress addonLet me know if you run into any issues with it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 11, 2015 at 19:06 #62107AndreiModeratorHi @sedmorders, please note that because of the recent announcement made by themeforest we were noticed to update all third party libraries used in our theme because of security reasons.
http://marketblog.envato.com/news/wordpress-item-security-vulnerability/I’m sorry to hear that the plugin that you’re using didn’t made this step yet, maybe you can contact their author and ask them to update their TGM library in order to avoid such kind of issues in the future.
Thank you for your understanding.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 11, 2015 at 19:07 #62108sedmordersParticipantActually, the class-tgm-plugin-activation.php is found in /themes/kleo/kleo-framework/lib RATHER than /themes/kleo/lib.
I tried that on my system as follows:
1. Downgraded to kleo 2.3.4.
2. Activated the pmpro bbpress plugin.
3. Upgraded from kleo 2.3.4 to 3.0. At that point, the admin login produced a 500 error and I couldn’t get in.
4. Renamed /plugins/pmpro-bbpress/class-tgm-plugin-activation.php to /plugins/pmpro-bbpress/class-tgm-plugin-activation-ole.php
5. Copied /themes/kleo/kleo-framework/lib/class-tgm-plugin-activation.php to /plugins/pmpro-bbpress/
6. Logged in as admin using Kleo 3.0 and it works!This is a good sort-term fix. However, it appears that pmpro bbpress needs to be updated to fix this problem. I have posted a companion trouble ticked in the pmpro forms at:
http://www.paidmembershipspro.com/forums/topic/problems-activating-pmpro-bbpress-addon-version-1-2-in-kleo-theme-version-3-0/#post-31767I have asked them to update their plugin.
June 11, 2015 at 19:22 #62113AndreiModeratorI’m glad to hear that you managed to finally update and this will also help us for other users that might encounter this issue.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 11, 2015 at 19:36 #62118sedmordersParticipantAndrei,
Thanks.
BTW, after doing the above, the following plugin was installed AUTOMATICALLY somehow:
TGM Plugin Activation, version 2.5-dev
The plugin wasn’t activated so I activated it. I don’t know how it got installed because I didn’t put it there. Perhaps moving the file class-tgm-plugin-activation.php caused the plugin to install ITSELF. Anyway, other users need to know about this problem so they don’t repeat my problem.
In the meantime, I hope PMPro gets off their butts and fixes their plugin. It wasn’t your problem but you were very helpful anyway. Great support every time I needed it.
Keep up the great work and upgrades to an indispensable theme. Have a good day.
June 11, 2015 at 21:38 #62171AndreiModeratorWell, the TGM library is a “plugin” itself which help us ease the way you can install recommended/required plugins to use in addition with the theme. Normally you won’t find it declared in the plugin list, but in this case dunno exactly what might happen, didn’t tested this issue myself, hope PMPro guys fix it soon.
It’s our pleasure to help you any time you need it.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 11, 2015 at 22:40 #62188sharmstrModeratorTry this one instead. Its the one I used and it didnt create a plugin.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.June 16, 2015 at 11:17 #63084StoyneParticipant@sharmstr I upgraded to Kleo 3.1 and something went wrong and I can’t access the Admin Pannel. Do yuo think the downgrade to 3.0 will solve the problem? How can I do this?
June 16, 2015 at 17:48 #63173hdavidsenParticipant@sharmstr the trick with class-tgm-plugin-activation.txt worked for me, thank you so much 🙂
Should I keep the file as -old and leave your file in the folder?
June 16, 2015 at 18:57 #63206sharmstrModeratorIf you dont, it wont work.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 6, 2015 at 19:21 #66936alliantceParticipantI was getting an “Internal Server Error” in Admin/Updates.
Now with this recommended fix I am getting an “Internal Server Error” everywhere in Admin.
Any further suggestions?
July 6, 2015 at 19:23 #66937AndreiModeratorPlease download the latest version of the theme and manually update your main theme over FTP.
This should fix this issue which was caused by the envato theme updater api.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The topic ‘ERROR /class-tgm-plugin-activation.php: PM Pro bbPress addon with Kleo’ is closed to new replies.