WordPress Multisite Customize Error - php

I have a WordPress multisite build with 9 different themes running. Everything is working okay, I've used Redux Framework on most of them but I'm not able to use the native WordPress customizer, I receive the generic, "Cheatin’ uh? Sorry, you are not allowed to customize this site." error. I am a super admin so I don't believe it's a permissions issue. I'm not able to use the customizer on any of the sites, so I'm thinking it's a core issue but I'm not sure where to look. Any suggestions would be greatly appreciated.

Many people have same issue after update to WordPress 4.7x.
I see someone fixed this issue using this method:
install the plug-in [User Role Editor][1]
go to Users->User Role Editor
select Role: Administrator at the top
check the row edit_theme_options
click on Update
confirm the message box

Related

Blank page WordPress custom theme

I have a custom theme that worked over months, now for some reasons without any update it shows blank pages on all website even with WP_debug active and php display error it doesnt shows any error, now to debug the problem?
If you can access the backend:
Switch to any of the WP default themes and check if you still have the issue.
then deactivate all plugins and check for issues.
then activate plugin 1 by 1 and check for issues (activate the base plugin first then it's the add-on/dependent plugin)
if all these don't work, replace core files from FTP
at last contact a developer ask him to debug the issue
If you can't access the backend:
hire/contact a developer for debugging or ask hosting for help in this case.

Wordpress Dashboard Display error

I have a huge problem with my wordpress dashboard display. After I upgrade to wordpress 4.5 my dashboard gone crazy.... its seems like it is not displaying css correctly. Its really killing me cause I could not write any article ...which very bad for my website. My dashboard looks like:
This is what seems to be the problem:
I tried everything. First I thought that is might be chrome's problem. I deleted history/cache ...etc. Not working. Then I deleted chrome and reinstalled it. Not worked. Then I used firefox, opera,internet explorer ... not worked. I put one friend of mine to look... it seems also the same to him. Then, I deleted wordpress 4.5 core file (wp-admin, wp-include) from ftp and installed back wordpress 4.4.2 and it looks the same..... I'm really desperate. I sought help on wordpress official website.... nobody helped me.... its crucial for me to solve this problem I really live with site's help. I really don't have any idea to solve it. This is killing me :(.
I appreciate any help.....
Add below code in wp-config.php file of your WordPress.
define('CONCATENATE_SCRIPTS', false );
It should solve your problem, you can read more details on below link.
http://manovotny.com/fix-wordpress-admin-styles-not-loading/
jQuery is not defined errors usually indicate that jQuery hasn't been loaded at all, so then other scripts that depend on jQuery being present throw the error.
Where are you loading jQuery from? According to this issue someone had a problem where they were including jQuery from Google's CDN, and WordPress was trying to load a version of jQuery that wasn't present in Google's CDN.
A link to your site would be helpful - it's difficult to determine what all is going on from only that screenshot.
It also looks like your site isn't loading any of the CSS for the admin area. Have you doublechecked your WordPress address and Site Address options in the admin?
This might also be set in your wp-config.php file:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
If your WordPress Address (which is the same as WP_HOME) setting doesn't match the URL with which you're trying to access the WP admin area, then you'll see symptoms like your site is exhibiting, where CSS doesn't load properly and some javascript may be missing.
One more suggestion: try activating a different theme temporarily (such as Twenty Fifteen) and see if that fixes up the WP admin. You may have a conflict specific to your current theme package.
Take care of adding define( 'CONCATENATE_SCRIPTS', false ); at the top of declarations, after comments.

Wordpress New Plugin Issues

I have created a wordpress plugin from scratch. When I check other plugins in Wordpress admin. If there is any update in Plugins installed page, I can see a message
Say, for e.g Contact Form - I am right now getting a message
There is a new version of Contact Form 7 available. View version 3.7.2 details or update now.
What will I have to do so that people come to know any new version of my plugin is available.
What will be case If the plugin is free and also incase it is paid.
One last question How do add the feature to check for wordpress compatibility of the plugin. Since I have programmed it to work on Wordpress version 3.8.1. How can I be sure that the plugin will also work on lower versions of wordpress 3.8.1. Is installing it on every wordpress version and testing the plugin the only way to know. Or is there any simple approach to know the plugin will be compatible.
Thanks in Advance.
At first, you have to develop the plugin by following the WordPress standard coding guide lines and then you have to submit the plugin to WordPress Plugin Directory and if your plugin get approved then you have to keep it in the WordPress plugin repository. There are several steps for doing this, so you should follow the steps, at first begin from Writing a Plugin.
You also have to be familiar with Subversion (SVN) and ael these takes quite a time to complete the complete process from developing to submitting till approval of your plugin. Also, remember that, the community/team who check plugins submitted by plugin authors are professionals and it could be possible that your plugin might be rejected if the plugin doesn't match the criterion of the standard WordPress plugin, such as licensing, coding style etc.
You may also check this link for useful resources about writing a plugin. It may sounds scary but it's not impossible and very easy, just follow the instructions and keep going on.
If your plugin finally get approved and saved in the plugin repository by you then every time you update your plugin source, it'll be visible in the admin panel of a user who is using your plugin but there are some process related with it, you should keep reading and you'll get the idea. It's not possible describe everything here, it's too broad. Everything you need about plugin development, the first place is the Codex to look information for.

Which files display categories in the wordpress backend?

We migrated all the files from one domain to another. It has created issues with the wordpress default post's categories. It does not display any category in the backend although they exist in wordpress tables. When we add new category, it does not get displayed in admin panel. The screen shot is as dl.dropboxusercontent.com/u/39933074/category-error.png. I think the issue is due to some files are missing while migrating the files.
Can anyone please help me in resolving this issue and also please let me know which files contains the code which retrieves categories in the admin panel
Do some basic WordPress troubleshooting first:
Deactivate all your plugins
Use a default theme (i.e. Twenty Thirteen)
Try again
If that doesn't fix your problem, reinstall WordPress via your dashboard (-> Updates).

Joomla! model overrides

I am developing a Joomla 3.1 website. On the work flow I found out that I need to change administrator/components/com_k2/models/category.xml. I have no other way. But I don't also want my client afterwards to have troubles with K2 updates.
I tried to google about possible solutions but everybody says it is impossible to override models in Joomla. And that I need to make a plugin of it. I am even eager to make a plugin but cannot find appropriate tutorials.
Has anyone met such a problem and is there a way to come to solution?
Thanks.
You can use this to override models: Plugin Override.
Install and enable the plugin.
You can then copy the file:
administrator/components/com_k2/models/category.xml
to:
administrator/templates/bluestork/html/com_k2/models/category.xml
and edit it as you like.

Categories