BuddyDev

Search

[Resolved] Mediapress class-mpp-local-storage.php error message

  • Participant
    Peter Amato on #41454

    Error message for mediapress gallery. Member galleries work but this error message is displayed above message about how much storage space member has left.

    Warning: Cannot use a scalar value as an array in /home/customer/www/nutmegmiata.org/public_html/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1202

    wordpress 5.8.1 , buddypress 9.1.1, theme is child theme of OceanWP.

    // Generated by the MediaPress Debug tool //

    Multisite: No

    SITE_URL: https://nutmegmiata.org
    HOME_URL: https://nutmegmiata.org

    WordPress Version: 5.8.1
    Permalink Structure: /%postname%/

    Active Theme: nutmegmiata-3 1.3
    Parent Theme: nutmegmiata-3 1.3

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, closed, spam, orphan, hidden, negated, wpca_except, wpca_or

    // Browser Details //
    Browser Name: Firefox
    Browser Version: 94.0
    Browser User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:94.0) Gecko/20100101 Firefox/94.0
    Platform: Apple
    // End Browser Section //

    PHP Version: 7.3.32
    PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,zlib,bcmath,bz2,calendar,ctype,curl,dba,dom,enchant,hash,fileinfo,filter,ftp,gd,gettext,gmp,SPL,iconv,session,intl,json,mbstring,standard,mysqlnd,pcntl,mysqli,PDO,pdo_mysql,pdo_pgsql,pdo_sqlite,pgsql,Phar,posix,pspell,readline,Reflection,imap,shmop,SimpleXML,soap,sockets,sodium,exif,sysvmsg,sysvsem,tidy,tokenizer,wddx,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,cgi-fcgi,memcached,ionCube Loader,Zend OPcache
    GD enabled: Yes

    //GD Info
    GD Version: 2.2.5
    FreeType Support: 1
    FreeType Linkage: with freetype
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    WebP Support: 1
    BMP Support: 1
    JIS-mapped Japanese Font Support:
    // End GD Info

    MySQL Version: 5.7.32-35-log
    Web Server Info: Apache

    WordPress Memory Limit: 40M
    PHP Safe Mode: No
    PHP Memory Limit: 768M
    PHP Upload Max Size: 256M
    PHP Post Max Size: 256M
    PHP Upload Max Filesize: 256M
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled
    SCRIPT_DEBUG: Disabled

    // Table Prefix //
    Table Prefix: wp_

    Show On Front: page
    Page On Front: Home (#10180)
    Page For Posts: Club News Blog (#29)

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: Off

    DISPLAY ERRORS: On (1)
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.

    ACTIVE PLUGINS:

    AddToAny Share Buttons: 1.7.48
    Advanced Access Manager: 6.8.0
    Advanced Editor Tools (previously TinyMCE Advanced): 5.6.0
    Anywhere Elementor: 1.2.4
    bbPress: 2.6.6
    bbPress – Sort topic replies: 1.0.3
    bbp style pack: 4.8.9
    Better Notifications for WP: 1.8.6
    BP Custom Functionalities: 1.0.3
    BP Directory Views: 1.0.3
    BP Profile Search: 5.4.3
    BP Profile Shortcodes Extra: 2.5.2
    BuddyPress: 9.1.1
    BuddyPress Admin Only Profile Fields: 1.2
    BuddyPress Default Cover Photo: 1.6.0
    BuddyPress Live Notification: 2.1.0
    BuddyPress User Profile Tabs Creator Pro: 1.1.5
    Code Snippets: 2.14.2
    Community Activity On profile: 1.0.5
    Contact Form 7: 5.5.1
    Contact Form CFDB7: 1.2.5.9
    Content Aware Sidebars: 3.16.2
    Duplicate Page: 4.4.5
    Duplicator: 1.4.3
    Dynamic User Directory: 1.6.3
    Elementor: 3.4.6
    Elementor Call to Action (CTA) Box Animate: 1.0.3
    Embed Plus for YouTube – Embed a YouTube Gallery, Channel, Playlist, Live Stream, Facade: 14.0
    Events Manager: 5.12
    GD Topic Polls for bbPress: 1.6
    GEO my WP: 3.7.1
    GMW Add-on – BP Xprofile Geolocation: 1.5.2
    GMW Add-on – Exclude Locations: 1.3.2
    Health Check & Troubleshooting: 1.4.5
    Image Hover Effects – Elementor Addon: 1.3.5
    Image Upload for BBPress: 1.1.18
    Jetpack: 10.2
    Loco Translate: 2.5.5
    LoginPress – Customizing the WordPress Login: 1.5.7
    MediaPress: 1.5.1
    MediaPress Global Shared Gallery: 1.0.0
    myStickymenu: 2.5.6
    Ocean Extra: 1.8.2
    Photonic Gallery & Lightbox for Flickr, SmugMug, Google Photos & Others: 2.75
    Post Expiration Date: 1.3
    Post Types Order: 1.9.5.7
    Redux: 4.3.1
    Simple Google reCAPTCHA: 3.8
    SiteGround Optimizer: 5.9.7
    Smooth Slider: 2.8.8
    Smush: 3.9.1
    UpdraftPlus – Backup/Restore: 2.16.62.25
    User Switching: 1.5.8
    Void Contact Form 7 Widget For Elementor Page Builder: 1.1.7
    Widget Shortcode: 0.3.5
    Wordfence Security: 7.5.6
    WP All Export: 1.3.2
    WP All Export – User Export Add-On: 1.0.0
    WP Custom Avatar: 1.2.1
    WPForms: 1.7.0
    WP Mail SMTP Pro: 3.1.0
    WP Sheet Editor – Users (Premium): 1.5.9
    You Have a New (BuddyPress) Message: 2.1

    // MediaPress Settings //

    active_components: sitewide,members
    default_status: loggedin
    active_statuses: private,loggedin,friendsonly
    active_types: photo
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
    size_thumbnail: 150,150,1
    size_mid: 350,350
    size_large: 1024,1024
    single_media_size: large
    lightbox_media_size: large
    mpp_upload_space: 24
    mpp_upload_space_groups: 10
    show_upload_quota: 1
    show_max_upload_file_size: 1
    default_storage: local
    enable_file_upload: 1
    enable_remote: 0
    enable_remote_file: 0
    download_remote_file: 1
    enable_oembed: 0
    enable_debug: 0
    enable_gallery_archive: 1
    gallery_archive_slug: galleries
    gallery_permalink_slug: gallery
    sitewide_active_types: photo
    sitewide_photo_gallery_default_view: default
    has_gallery_directory: 1
    activity_upload: 0
    activity_disable_auto_file_browser: 1
    autopublish_activities: create_gallery,add_media
    activity_photo_default_view: default
    show_orphaned_media: 0
    delete_orphaned_media: 0
    activity_media_display_limit: 2
    members_active_types: photo
    members_enable_type_filters: 0
    members_photo_gallery_default_view: default
    galleries_per_page: 12
    media_per_page: 20
    media_columns: 4
    gallery_columns: 4
    show_gallery_description: 1
    show_media_description: 1
    enable_audio_playlist: 1
    enable_video_playlist: 1
    gdoc_viewer_enabled: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 1
    lightbox_media_only: 1
    enable_activity_lightbox: 0
    enable_gallery_lightbox: 1
    enable_lightbox_in_gallery_media_list: 1

    // End of MediaPress Settings //

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #41473

    Hi Peter,
    Thank you for reporting the issue.

    I have fixed it in our repo and will be making a public release on wp.org in next 2 days.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 33
    Mike OConnor on #41502

    Will this fix the other issues with the media gallery? Our members can’t post images to galleries. We got the activity feed and wall images to work, but we can’t get the gallery upload to work.

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #41510

    Hi Mike,
    I had a look at the site today. Your issue is conflict with BuddyBlog Pro. Most probably, the BuddyBlog pro is enabled for mpp gallery post type.

    Please check mail for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #41656

    Hi Mike,
    Hope you are doing well.

    I am marking it resolved as per our emails. For anyone else, the issue was indeed the conflict with BuddyBlog Pro enabled for gallery post type.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    John on #42127

    Hi @sbrajesh

    Re the issue in the OP, was the fix released? Suddenly hit the same issue: “Warning: Cannot use a scalar value as an array in /homepages/26/d872284541/htdocs/wp-content/plugins/mediapress/core/storage/class-mpp-local-storage.php on line 1202” showing above the quota limit which appears to be wrong too “You have 100% of your 10MB space left” which can’t be right as there’s three images in the gallery.

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #42137

    Hi John,
    I am sorry, we did not push the update. Please allow me to do it tomorrow(I had put it manually on Mike’s server).
    Here is the link to the fix.
    https://github.com/buddydev/mediapress/commit/031ee3cefb78b9bf470585b8a8b664b2d1114fb9

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 21785
    Brajesh Singh on #42165

    Hi John,
    Thank you for the patience.

    Please upgrade to 1.5.2 and the issue will be resolved.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved