• Resolved Yearhouse

    (@yearhouse)


    Hi

    I get this error on my production environment (Not yet live)

    Fatal error: Uncaught exception ‘RuntimeException’ with message ‘Unimplemented’ in /inc/plugins/twitterfeed/app/Widgets/Widget.php:111 Stack trace:
    #0 /inc/plugins/twitterfeed/app/Widgets/Widget.php(59): TwitterFeed\Widgets\Widget::render(Array)
    #1 /inc/plugins/twitterfeed/vendor/askupa-software/amarkal-framework/Extensions/WordPress/Widget/Widget.php(141): TwitterFeed\Widgets\Widget::TwitterFeed\Widgets\{closure}(Array, Array)
    #2 /wp-includes/widgets.php(344): Amarkal\Extensions\WordPress\Widget\Widget->widget(Array, Array)
    #3 [internal function]: WP_Widget->display_callback(Array, Array)
    #4 /wp-includes/widgets.php(1319): call_user_func_array(Array, Array)
    #5 /inc/themes/wen-business/sidebar.php(18): dynamic_sidebar(‘sidebar-1’)
    #6 /wp-includes/template.php(555): require_once(‘/var/www/www.sy…’)
    #7 /wp-inc in /inc/plugins/twitterfeed/app/Widgets/Widget.php on line 111

    But On my localhost i works like a charm. I do however have iThemes Security plugin installed and have changed the wp-content folder to inc.. I dont know if this could be the reason??

    Hope you can help as soon as possible ??

    Thanx in advance.

    https://www.ads-software.com/plugins/wd-twitter-feed/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Yearhouse

    (@yearhouse)

    I tried deleting the wordpress and DB installation, and did a complete fresh install.
    I then installed the Twitterfeed plugin:

    Error still shows?

    Are there any special server requirements for this plugin.

    Thread Starter Yearhouse

    (@yearhouse)

    OK I’ve come so far as to track the problem to Widget.php.


    “name” => static::get_name(),
    “version” => \TwitterFeed\PLUGIN_VERSION,
    “languages-ur” => \TwitterFeed\PLUGIN_DIR . “languages/”,
    “description” => “Use this widget to display tweets in your widget area”,
    “callback” => function( $args, $instance ) {`

    // Render the tweets
    static::render( $instance );

    },…
    `
    The static::get_name() outside the callback gets the correct function inside StaticTweets.php

    But static::render() inside the callback function is not getting the render function() from extended class StaticTweets.php but from the Abstract class Widgets??

    Why this is happing on my host provider and not on my localhost I have no idea..
    Hope You can help with this one as its causing grey hairs ??

    mgratch

    (@brokenflipside)

    This exact thing is happening and has been for a few versions on my local VVV install on SiteGround and on WP Engine. I have tried it with a fresh install as well.

    Thread Starter Yearhouse

    (@yearhouse)

    We only use the static tweets so i solved it by doing the following in Widgets.php:

    // Render the tweets
    //static::render( $instance );
    StaticTweets::render( $instance );

    Its not pretty but it works for now.

    Plugin Author Askupa Software

    (@askupa-software)

    Hi yearhouse,
    thank you for hunting down the root of the issue. However, your solution will only work if you using StaticTweets by itself. The static:: keyword is used for late static binding, which is needed in this case.

    It is very strange that StaticTweets::render( $instance ); worked for you, while static::render( $instance ); didn’t. It should have been the other way around.

    What PHP version are you using?

    Plugin Author Askupa Software

    (@askupa-software)

    The new version (2.1.4) should resolve your issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: commercial version’ is closed to new replies.