• Resolved rianovost

    (@suryano11)


    Recently

     Fatal error: Uncaught Error: Call to undefined method Recently\Helper::add_scheme()
    in
    /rianovost.ru/public_html/wp-content/plugins/recently/src/Image.php on line 581
    
    Стек вызовов:
    • This topic was modified 3 years, 11 months ago by Yui.
    • This topic was modified 3 years, 11 months ago by Yui. Reason: please use CODE button for code formatting

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @suryano11,

    Thanks for the report. Will look into it as soon as possible.

    Thread Starter rianovost

    (@suryano11)

    Хорошо, тогда я пока деактивирую плагин, как только разберитесь, дайте знать! Возможно, что есть конфликт с другими плагинами или с функциями темы GeneratePress. В любом случае здесь приложу весь debug

    Well, then I’ll deactivate the plugin for now, as soon as you figure it out, let me know! It is possible that there is a conflict with other plugins or with the functions of the GeneratePress theme. In any case, here I will attach the entire debug

    Recently
     Fatal error: Uncaught Error: Call to undefined method Recently\Helper::add_scheme()
    in /rianovost.ru/public_html/wp-content/plugins/recently/src/Image.php on line 581
    
    Стек вызовов:
    
    Recently\Image::get_attachment_id()
    wp-content/plugins/recently/src/Image.php:492
    Recently\Image::get_file_meta()
    wp-content/plugins/recently/src/Image.php:272
    Recently\Image::get()
    wp-content/plugins/recently/src/Output.php:377
    Recently\Output::get_thumbnail()
    wp-content/plugins/recently/src/Output.php:217
    Recently\Output::render_post()
    wp-content/plugins/recently/src/Output.php:164
    Recently\Output::build_output()
    wp-content/plugins/recently/src/Widget/Widget.php:519
    Recently\W\Widget::get_recents()
    wp-content/plugins/recently/src/Widget/Widget.php:162
    Recently\W\Widget::widget()
    wp-includes/class-wp-widget.php:380
    WP_Widget::display_callback()
    wp-includes/widgets.php:823
    dynamic_sidebar()
    wp-content/themes/generatepress-rianovost/footer.php:24
    require_once()
    wp-includes/template.php:730
    load_template()
    wp-includes/template.php:676
    locate_template()
    wp-includes/general-template.php:92
    get_footer()
    wp-content/themes/generatepress-rianovost/single.php:102
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17
    Plugin Author Hector Cabrera

    (@hcabrera)

    No, it’s not a conflict with your theme nor other plugins. It’s the “Pick Image From” dropdown (see Settings > Recently > Tools, under Thumbnails.) That feature is currently broken and I didn’t notice until now.

    If you select the Featured Image option from that dropdown the error message should be gone but if I remember correctly you need to use a different option, “first image from post” I think, so changing to a different option might not be an option for you -pardon the redundancy haha- and in that case it’s best to wait until I release a proper fix (hopefully later today once I’m off of work.)

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, version 3.0.3 is out! Please update as soon as possible and report back.

    Thread Starter rianovost

    (@suryano11)

    Thank you dear Hector! You have solved the problem of the century! I have already installed more than 30 plugins of the recent posts type, but none suited my needs, namely, the output of an image from a post, the fact is that it is not always convenient to install thumbnail, and our bloggers and I add an entry through Microsoft Word (through the integration plugin) and there, the document already has an image attached, we will not once again add thumbnail in the wordpress editor. This is why your plugin saves the situation.Now I have the widgets of your 2 plugins : 1)wordpress popular posts and 2)recently. Thank you again for your quick response and solution. Now there is a non-critical problem : 2 recently widgets are installed on one page, one shows the output of only one category, and the other shows two other ones above footer, but the content of the first widget appears with the widget that is above footer. The problem is not critical, like the previous one, but I will be glad if it is solved, thank you!

    Thread Starter rianovost

    (@suryano11)

    Please tell me more css classes. For example, is it possible to display the title on the image?
    Also, please solve the problem of two widgets on one page, that is, when I display two widgets recently. The second one displays the contents of the first widget

    Plugin Author Hector Cabrera

    (@hcabrera)

    Can please you share an URL where I can see the two widgets issue you’re describing @suryano11? I need to see the issue myself to understand what’s going on so I can provide suggestions ??

    Edit: Sorry, I just woke up. You already shared the URL above haha I’ll have a look sometime later today.

    Thanks for letting me know that the update fixed the problem, by the way!

    Thread Starter rianovost

    (@suryano11)

    Home page https://rianovost.ru
    One widget recently stands at the top under the slider, we will conditionally call widget number 1
    The second one is located at the bottom above the footer, we will call it widget number 2
    Below is a screenshot of how widget number 1 falls into the area of widget number 2. But it is noteworthy that if you delete widget number 1, then widget number 2 looks normal, that is, the upper widget sells the lower independent widget

    Skcreens :
    Screen 1
    Screen 2
    Screen errors

    • This reply was modified 3 years, 11 months ago by rianovost.
    • This reply was modified 3 years, 11 months ago by rianovost.
    Thread Starter rianovost

    (@suryano11)

    Also please tell me css classes, I will design the design myself, just write the classes

    Thread Starter rianovost

    (@suryano11)

    I found the css in the plugin folder, now I only need to solve the problem of duplicating the widget

    Plugin Author Hector Cabrera

    (@hcabrera)

    I had a look at your website and it seems you’ve been making changes so I’m not sure you still need help with this? I can see you’re using the Tiles theme and both look the same to me (although they don’t look great since they’re on a super wide sidebar.)

    Anyways, since the original issue was fixed (the PHP fatal error you reported) I’m marking this topic as resolved. If you still need help with something else please open a new topic.

    Thread Starter rianovost

    (@suryano11)

    I made changes (not to the end) on css styles, but the problem is completely different, namely that the widget is duplicated, well, I will open two topics at once: the first is the problem of duplicating the widget, the second is edits on css. You are right, here it is necessary to mark the issue resolved

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