sunspot10
Forum Replies Created
-
Here is what appears at line 3010 of the error indicated in the previous post:
“$tgmpa_instance = call_user_func( array( get_class( $GLOBALS[‘tgmpa’] ), ‘get_instance’ ) );”
I too am having the same problem and it is DEFINITELY related to my theme. Here is the error that appears in the browser on the server after the plugin is activated and I return to the plugins page within the admin panel.
“PHP Warning: get_class() called without object from outside a class in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\themes\kleo\kleo-framework\lib\class-tgm-plugin-activation.php on line 3010 PHP Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\themes\kleo\kleo-framework\lib\class-tgm-plugin-activation.php on line 3010”
The problem happens even though the TGM Plugin Activation version 2.5.0 is installed. When I try to manually activate it, the above error happens again.
I am running the Kleo theme, version 3.0.6:
https://seventhqueen.com/themedemo/#kleo
https://seventhqueen.com/premium-wordpress-themesAlso running WordPress 4.3 and PHP 5.5.28. The bbpress pmpro addon is version 1.3.
When is this going to be fixed?
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeThe editor works fine on Firefox for all pages sizes.
1. Only Internet Explorer has problems.
2. Versions of PHP newer than 5.3.39 have problems.I am not using wordpress caching. Although I have Wordfence installed, caching is disabled. You can only use it if you have Live Traffic view DISABLED, but I am using Livetraffic view.
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeThe problem seems to be related to the version of PHP being run on the server. Versions 5.2.17 and 5.3.39 work better than newer versions. They will load and edit short pages fine. Even when they open large pages, they don’t seem t lock up.
Versions 5.4.40 and 5.5.24 have browser lockup problems when loading large pages.
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeI also tried using the debug mode by setting the following in the wp-config.php file before the hang:
define(‘WP_DEBUG’, true);
define( ‘WP_DEBUG_DISPLAY’, false );
define( ‘WP_DEBUG_LOG’, true );There are no error logs. Setting WP_DEBUG_DISPLAY to “true” also reveals no errors.
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeWith 4.2.1, I am now able to edit SMALLER pages without issue. Only large pages hang. By “larger” I mean more than a couple pages in length. The more complex the page, the more likely it is to hang.
I thought the issue might be related to the MySQL max_packet_size parameter. See:
https://dev.mysql.com/doc/refman/5.1/en/packet-too-large.htmlThe default max_packet_size in the MySQL my.ini file on my server was 1M. I increased it to 16M but this did not help the problem.
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeJust did the 4.2.1 WordPress patch. This version STILL has all the above problems AGAIN.
Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeOther solutions attempted without success:
1. The problem happens with all three types of browsers: IE 11, Firefox 37, and Chrome 42.
2. The problem also happens on two different sites upgraded separately. Both are Running on Plesk 12 with Windows Server 2012R2.
3. Also, when it happens, the server utilization spikes an additional 50% and Plesk issues server utilization alarms. This is the same problem that version 4.1.2 had. The alarms indicate high MySQL utilization.
4. Creating a blank page with the visual editor works, but as soon as you past more than a couple pages into the window, the browser freezes and crashes.
5. On Internet Explorer 11, there is an error message at the top of the screen after pasting in a large file into the browser that says something like “Site connectivity lost. Saving your file locally”.Forum: Fixing WordPress
In reply to: Visual Editor not working after 4.2 upgradeI am using the Kleo theme. I also tried changing the theme to the built in WordPress themes. The problem still persists.
Also tried reinstalling 4.2 manually and it didn’t work either, as was suggested by other posts.
It isn’t any of the plugins because they were all disabled and the theme was switched to default.
The only explanation is that it is a wordpress core issue that needs an immediate fix.
Here is the equivalent web.config arrivated at upon much experimentation:
<configuration> <system.webServer> <rewrite> <rules> <rule name="Protect Member Subscriber Content"> <match url="^(.*)$" ignoreCase="false" /> <action type="Rewrite" url="/wp-content/plugins/paid-memberships-pro/services/getfile.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
However, hitting any of the files in the protected directory from the browser address bar does as a non-logged in user does not produce any error. The files are NOT protected as advertised. The getfile.php doesn’t do its job.
Running the IIS URL Rewriter on your sample .htaccess script fails. It says that the “RewriteBase /” command cannot be translated.
Therefore, my question remains about the appropriate web.conf file to use that will trigger your getfile.php.
For the information of readers, Microsoft provides an apache URL rewriter converter, where you can import your apache .htaccess and it will convert it to the required web.config format. See:
https://www.iis.net/learn/extensions/url-rewrite-module/importing-apache-modrewrite-rulesThanks for that info, Kim. Your article is very helpful.
For those unfortunate few who are running WordPress on a Windows 2012R2 server, what would the equivalent web.config file look like for a protected directory in the article you posted above and at:
https://www.paidmembershipspro.com/2011/10/locking-down-protecting-files-with-pmpro/I found an article on the subject of url rewrite equivalents in Windows Server web.config files, but the exact syntax is unclear:
https://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfigYou may also wish to update the above article of your on the subject as well to address the OTHER half of your user audience.
Thanks in advance for any help you can provide.