Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)
  • Thread Starter abouttheinn

    (@abouttheinn)

    That was it. Once the extensions were both added and enabled, things were back to normal.

    Thank you for your help!

    Thread Starter abouttheinn

    (@abouttheinn)

    Hi John,

    I found that the PHP version had been changed, without the extensions being in place. Once added that resolved the issue.

    Thank you for your response.

    Thread Starter abouttheinn

    (@abouttheinn)

    Thanks, I did see that it works on your test site. That helps. After running phpinfo() It appears that the extensions are not enabled. PHP was recently upgraded, which may have caused this. I presume I need to enable them in the php.ini file. However, I’m not sure if I should enable them in a new php.ini file in the webserver’s directory (there is not one there currently) or in another location.

    Is there a recommendation for this? I wasn’t able to find one…

    Thread Starter abouttheinn

    (@abouttheinn)

    Thank you @gappiah – I appreciate the response. I did suspect it was the plugin author’s responsibility. However, as you might have guessed, I am having more than one issue, and am not yet able to track down the cause, hence the broad approach to seeking a solution!

    Thread Starter abouttheinn

    (@abouttheinn)

    Developer replied via Facebook group and sent update copy of the file that was causing the error (class-sm-dates-wp.php). That solved the problem for me.

    Hi @pcavanagh62, Thanks. I’ll certainly give that a try.

    @sjh687 it looks to me like your error is the same one I was getting with 2.16.1. It is complaining that the file sermons.php is calling for a function (sm_get_screen_ids) that it can’t find. That file is located in the file sm-admin-functions.php, which is located in the includes/admin/ directory. Unfortunately, sermons.php does not include that file, and it appears that it should have been.

    As I mentioned in a previous post, I edited the sermons.php file to add this line:

    include SM_PATH . ‘includes/admin/sm-admin-functions.php’;

    in the sermons.php file after line 120, and that stopped the error messages. I do seem to have other issues, mentioned in my post above, which I do not think are related to that correction.

    Thanks @hikinmike I’ll check on that.

    @pcavanagh62 My problems have come after downloading the zipped plugin, removing the SM directories, and unzipping and activating 2.16.1. I get no errors, but the buttons for uploading the mp3 file, and other files, don’t work.

    Hmm. Thanks @hikinmike. Guess I’ll try reinstalling again.

    Just checking in.

    Has anyone been able to successfully post a sermon using 2.16.1? While I had no errors after updating with the “include” message mentioned above, when I went to upload this morning’s message, the buttons for uploading the mp3 file, and the bulletin and sermon notes all failed to do anything.

    I do understand that the cause could be my security settings, I have never had a problem with SM before (or with any other post type).

    I had to downgrade to 2.15.15 to get it to work (which has the added benefit of going back to the old editor, which I GREATLY prefer!).

    Thanks!

    Update – no error up to this time.

    Just had a quick look at sermons.php. In its _includes function it includes several files. The one it does NOT include is includes/admin/sm-admin-functions.php, which, as mentioned above, is the file which contains the function sm_get_screen_ids().

    Presumably that is causing it to generate the error. As a test I have added a line to the _includes function as follows:

    include SM_PATH . ‘includes/admin/sm-admin-functions.php’;

    The plugin activated without error. I’ll let you know if I get the error email.

    Just received the email, also. The problem here is the same issue with line 560 of sermons.php.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.5
    Current theme: Shapely (version 1.2.8)
    Current plugin: Sermon Manager for WordPress (version 2.16.1)
    PHP version 7.2.32

    Error Details
    =============
    An error of type E_ERROR was caused in line 560 of the file /home/brewster/public_html/graceforsuffolk/wp-content/plugins/sermon-manager-for-wordpress/sermons.php. Error message: Uncaught Error: Call to undefined function sm_get_screen_ids() in /home/brewster/public_html/graceforsuffolk/wp-content/plugins/sermon-manager-for-wordpress/sermons.php:560
    Stack trace:
    #0 /home/brewster/public_html/graceforsuffolk/wp-includes/class-wp-hook.php(287): SermonManager->{closure}(Object(WP_Screen))
    #1 $HOME/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #2 $HOME/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 $HOME/wp-admin/includes/class-wp-screen.php(421): do_action(‘current_screen’, Object(WP_Screen))
    #4 $HOME/wp-admin/includes/screen.php(240): WP_Screen->set_current_screen()
    #5 $HOME/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-sender.php(370): set_current_screen(‘sync’)
    #6 $HOME/wp-content/plugins/jetpack/vendor/automat

    Just re-updated to 2.16.1 and it appears to be working. That is, no error after update and things look normal. I guess we’ll know for certain after Sunday.

    Thanks @wpforchurch!

    I had just posted the email Error I had received, and on looking through the error, I see it is sermons.php this time. The error is that there is a function missing – sm_get_screen_ids() in a call from line 560 of sermons.php.

    I have searched through the includes directory and do not see any file attempting to implement that function. Is this simply a case of a missing function? Or are there other problems, as well?

Viewing 15 replies - 1 through 15 (of 27 total)