• Resolved mrfm

    (@mrfm)


    Hi folks! Thank you for your great plugin! ??

    I am experiencing this ‘critical error’ error on the feature requests archive page after updating to PHP 8.3.6

    I have plugin version 2.3.3.1 and WordPress 6.5.4

    Can anyone please help me to resolve this? Thanks!

     Jun 11, 14:08:32

    Fatal error: Uncaught Error: Class “SFR\App” not found in?/wp-content/plugins/simple-feature-requests/simple-feature-requests.php:220Stack Trace1.JCK_Simple_Feature_Requests->load_classes()/wp-content/plugins/simple-feature-requests/simple-feature-requests.php:652.JCK_Simple_Feature_Requests->__construct()/wp-content/plugins/simple-feature-requests/simple-feature-requests.php:2943.include_once(‘/home/mysite1/…’)/wp-settings.php:5174.require_once(‘/home/mysite1/…’)/wp-config.php:1125.require_once(‘/home/mysite1/…’)/wp-load.php:506.require_once(‘/home/mysite1/…’)/wp-blog-header.php:137.require(‘/home/mysite1/…’)/index.php:178.{main}thrown in?/wp-content/plugins/simple-feature-requests/simple-feature-requests.php on line 220

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    I am looking into this. Is the PHP version the only change?

    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    @mrfm I have tried several versions of PHP, fresh plugin installs, plugin upgrades, both the free and pro version. I have not been able to replicate this issue. Can you try reinstalling the plugin and see if it resolves? I am wondering if a file was corrupted somehow.

    Thread Starter mrfm

    (@mrfm)

    Hi Ben! I had already tried a plugin re-install (update and replace the plugin) via the WP dashboard. Around the same time was a WP upgrade and various other plugins, I thought it was the PHP version which broke it. Are there any plugin logs we can check? I could also clone the site so we could troubleshoot it freely if that would help.

    Thank you for your super quick reply and efforts to reproduce already!

    • This reply was modified 5 months, 2 weeks ago by mrfm.
    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    @mrfm there are no logs that would be more helpful than what you are getting. If it is simple to setup a clone site for troubleshooting that would be excellent.

    In the meantime, if the composer command is available on the server, you might be able to clear the error by running the terminal command composer dump-autoload in the plugin directory.

    Thread Starter mrfm

    (@mrfm)

    Hi Ben,

    I cloned the site, but strangely, the issue does not occur there!
    I tried the composer dump-autoload command via Terminal in cPanel – it completed successfully but unfortunately did not solve the problem. I also tried disabling, deleting and re-installing the plugin.

    Let me know if you have any further suggestions.
    Thanks!

    p.s. back in about 12 hours Zzzz…

    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    @mrfm hope your sleep was more restful than mine. Kids kept waking up all night…

    Back to the problem at hand- Does the file inc/vendor/mindsize/App.php exist?

    Then inside of vendor/composer/autoload_classmap.php there should be a line 'SFR\App' => $baseDir . '/inc/vendor/mindsize/App.php',.

    If those things are there then it should load properly.

    If that still does not work, try opening the simple-feature-requests.php file in the root of the plugin folder and add the following after line 16 require_once('inc/vendor/mindsize/App.php');

    I am still scratching my head as to how you are receiving this. If there was a file corruption I could understand, but since you reinstalled the plugin, that should have fixed it.

    Thread Starter mrfm

    (@mrfm)

    Hi Ben, I can sympathise! Got 2 of my own. ??

    Yes App.php exists. The specified line exists too – but double escaped backslash. That appears normal.

    Adding the require_once line unfortunately does not help.

    When I edit the page with Elementor, it displays without the error. Tried it as a standard WP page with just the shortcode but it gives the same error.

    • This reply was modified 5 months, 2 weeks ago by mrfm.
    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    @mrfm howdy! I just got back from vacation. I see this is still open. What solution did you come up with?

    Thread Starter mrfm

    (@mrfm)

    Hey Ben,

    Hope you had a great vacation!

    I have no solution sadly. My users have no feature requests page at the moment.

    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    @mrfm we released an update. Can you see if that resolved the issue?

    Thread Starter mrfm

    (@mrfm)

    Hi Ben, unfortunately the issues persists. I will try switching to another plugin.

    Thanks anyway for trying.

    • This reply was modified 3 months ago by mrfm.
    • This reply was modified 3 months ago by mrfm.
    • This reply was modified 3 months ago by mrfm.
    Plugin Author Ben Lobaugh (blobaugh)

    (@blobaugh)

    Closing this thread.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.