(Wordpress, Cryon) Incorrect arguments for 'wp-load' Solution

If You have installed Cryon plugin, and got a error message in ajax request: Incorrect arguments for 'wp-load'


You can check that You have defined ABSPATH in PHP code, if not, here is low level solution:

Edit: cryon_te_content.php

line: 16


//crayon_die_if_not_php($_GET['wp_load'], 'wp-load');
//require_once ($_GET['wp_load']);
require_once ( $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php');

That's all folks! :)

Tags: Wordpress / Plugins

Similar questions

My wordpress site gets redirected automatically to the old site any known solution for this?
I had recently moved my wp site from a domain to other, but when I type in the new domain's address it gets redirected to the old domain/some_page. Is this any common problem? Is there any known solution to this? I had checked my code and it has no redirects to this page. Can someone give me a hand on this?
HelpDesk solution for Wordpress
Is there a help desk solution plugin (free or paid) for Wordpress? Ideally a visitor would be able to create a ticket from the WP site and the admin would see it via email and in the admin portal of WP. Also offer the option for invoicing per ticket. Edit: The plugin has to play well with my theme without having to alter anything with the exception...
Wordpress best solution shared theme for consumers and businesses (two url's one instaltion)
What would be the best solution for a wp (cms style) site containing a sub site for consumers and businesses. I've made a wp theme and its almost finished. In essence its gives you two choice to visit as a consumers or as an business. Both have the same theme style but differ in some content used out of the wp database and some static content used....
Solution for Wordpress URL structure changes and 301 redirects?
After a major site review, we've created a new link and category structure to better accommodate URLs and content for the long-term. While we roll out the change, we need to avoid broken links and SEO issues because our category structure is changing. While best practice is to implement a 301 redirect, is there a solution to automatically redirect ...
Is there a seamless solution for submitting plugins to wordpress.org SVN and GitHub?
Possible Duplicate: How-to: push a GitHub repo to the wordpress plugin servers I love WordPress, but I also love GitHub. Would love to know if there is a seamless solution to using both SVN and GitHub for plugin development?
Allowed memory size exhausted. WordPress side solution
I'm getting a well known error from the question title. The problem is, website is running on a shared server and I don't have access to php.ini file. I've set `php_value memory_limit' inside .htaccess to higher value. I've set WP_MEMORY_LIMIT inside wp_config.php to higher value. phpinfo() says that max_execution_time is set to 30 and safe_mode is...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.