- This topic has 15 replies, 2 voices, and was last updated 7 years, 5 months ago by Tom.
-
AuthorPosts
-
September 23, 2016 at 6:23 am #228888Tobias
Hey everyone,
so I have this problem with customizing my page when GP-Premium is activated. I have tried deactivating all my other plugins – it has nothing to do with that. I also narrowed the problem down to the features “Background” and “Copyright”. Whenever one of the two is activated, customizing wont work and i only get a white screen instead of the options. The other add ons like “Colors” work fine. However I had the same problem with different add ons before.
Any ideas?
Thanks in advance. ๐
September 23, 2016 at 9:21 am #228924TomLead DeveloperLead DeveloperHmm, that’s odd.
As a first guess, I would up your PHP memory limit: https://generatepress.com/knowledgebase/increasing-memory-limit/
Let me know if that works or not ๐
September 24, 2016 at 3:50 am #229061TobiasI just checked that – the limit is set to 256MB and only 35MB are used right now so i don’t think that is the problem :S
September 24, 2016 at 7:55 am #229096TomLead DeveloperLead DeveloperGuess #2 would be you have a conflicting plugin. Try #1 on this page: https://generatepress.com/knowledgebase/debugging/
If that doesn’t work, check your error_log file on your server for any hints.
September 24, 2016 at 8:37 am #229103TobiasI’ve tried this on a page where the only plugin installed is GP Premium – the issue does still exist. :s
I can sometimes get “Backgrounds” to work by randomly activating/deactivating other features. However I can only customize my page once then. When I try to access “customize” again it shows me the white screen again. It’s just really odd.
I will try WP Debug and checking the error_log next. Let’s see if any of that works ๐ฎ
September 24, 2016 at 6:58 pm #229185TomLead DeveloperLead DeveloperWhite screen can mean a couple things:
1. Ran out of PHP memory. The fact that it works when you disable some add-ons/plugins points to this. Less things running = less memory usage. It might be worth upping the value even more just to test.
2. PHP error – this would be caused by another plugin and would show up in the error_log file.
September 25, 2016 at 8:06 am #229288TobiasOkay so I turned on WP_Debug and got this error message: Strict Standards: Redefining already defined constructor for class wp_memory_usage in / ….. on line 39
When I saw this I thought maybe it is an issue with the php memory. So I checked the php memory again – it is set to 256mb but turns out WordPress was only able to use 40mb. I thought I finally found the problem, set the limit to 128mb using define(‘WP_MEMORY_LIMIT’, ‘128M’);
However the problem still occurs. I have no idea what to do at this point. :/
September 25, 2016 at 8:26 am #229293TomLead DeveloperLead DeveloperYou may have to set it in your php.ini file. If you call your hosting they should be able to point you in the right direction.
September 26, 2016 at 6:24 am #229539TobiasThe memory is set to 128MB for WordPress – that’s unfortunately not the problem.
Could it have anything to do with the browser, cache or cookies?
September 26, 2016 at 8:38 am #229570TomLead DeveloperLead DeveloperIt could do, but I’m still leaning towards PHP memory. The amount the page is reporting could be false, so that number might need increasing regardless of what the numbers are reporting.
The fact that turning on certain functionality fixes it points to PHP memory and not much else.
September 27, 2016 at 2:21 pm #229925TobiasI don’t have access to the php.ini file. However in .htaccess it says โphp_value memory_limit 256Mโ and in wp_config.php I set the limit to 256MB with โdefine(โWP_MEMORY_LIMITโ, โ256Mโ);โ – that didn’t fix it.
I also tried two different plugins, which show the available and used memory. They both showed me that the WP limit is set to what i set it.
So unfortunately I don’t think that php memory is the problem. ๐ฎ
Would it help if i gave you some sort of guest access to the page so you could take a look at the problem yourself?
September 27, 2016 at 11:11 pm #229992TomLead DeveloperLead DeveloperSure, you can send it through the contact form right here on this site ๐
September 28, 2016 at 6:21 am #230071TobiasSorry but where exactly can i find that contact formula? ๐
September 28, 2016 at 9:07 am #230113TomLead DeveloperLead DeveloperSorry, here you go: https://generatepress.com/contact/
Looking into this a bit more, the error you received above, did it happen with this plugin installed?: WP-Memory-Usage
If so, that’s a super old plugin – I would deactivate it.
In your wp-config.php file, did you add the line looking exactly like you wrote it above?:
define(,WP_MEMORY_LIMIT', โ256M');
If so, it should look like this:
define('WP_MEMORY_LIMIT', '256M');
It’s possible that this isn’t working because the value in your php.ini file is overwriting these values.
If that’s the case, you’ll need to contact your server and ask them to up the limit.
September 28, 2016 at 12:00 pm #230140TobiasYeah I deleted that plugin after I found a better one anyways.
Sorry i mistyped above. I checked the FTP and the code is right.
I sent you a message with the required data. I hope you can find whatever causes the problem ๐
-
AuthorPosts
- You must be logged in to reply to this topic.