Hot answers tagged

2

As you are using PHP 5.5+ versions, the old PHP 4 things will throw errors … of course. The error comes from – as you can read – the WordPress importer plugin, which is some kind of badly treated step child of WordPress. plugins/wordpress-importer/wordpress-importer.php:38 One solution is to use our fork with fixes from wecodemore/GitHub, where you can ...


2

The problem, as pointed out in the php error, is on line 7 of the "chat.php" file: add_action( 'init', ic_show_chat_bar()); This line has two problems: The correct syntax for a valid callback function should be without the parenthesis and wrapped in single quotes. Since the function is declared inside a php class, it won't be accesible to add_action ...


1

Does wordpress have any built-in settings for doing this? Most likely your host will have an option on your cPanel for custom Error pages. Something along the lines of: If that is not the case, please have a look at this older question: How to create custom 401, 403 and 500 error pages? EDIT 1: Also at this one: ...


1

I figured out what was causing this, but it was by trial and error since there was no good debug info. And the error was in the main (custom post calling) part of my plugin, NOT in the options as I had surmised earlier. I ended up finding out that I needed to be using 'content' => $p->post_content in my query/foreach loop in place of 'content' ...



Only top voted, non community-wiki answers of a minimum length are eligible