• Resolved snooper

    (@snooper)


    Hey there

    I copied a WP site to another server (SQL and files) and now i am getting the following error (even having disabled the cloned-plugin, deleting and then re-installing from fresh):

    Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method PHPPC::handle_shortcode() should not be called statically in /home1/<domain>/public_html/wp-includes/shortcodes.php on line 308

    does anyone know what can this be?

    Thanks

    https://www.ads-software.com/plugins/php-code-for-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • RKS213

    (@rks213)

    I just installed this plugin today on my WAMP environment. I added an <img src=”<?php echo get_stylesheet_directory_uri() . ‘path/to/image.jpg’; ?>” /> and started getting this error.

    Even after removing the new PHP from my post, I would still get this error whenever I tried to save. The page would actually save, however, and it would even now perform the PHP on the page when I viewed it. Problem is, getting this white screen error every time I tried to update a page was a bother and not really what I want to see every time.

    I couldn’t figure it out so I just uninstalled the plugin and will try a different one to see if I can get php into the pages.

    Plugin Author Jamie Fraser

    (@thejfraser)

    Hi Snooper.

    This issue is fixed in the latest version.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cloned WP to new site, and now get PHPPC error’ is closed to new replies.