Fatal error: Uncaught Error: Call to a member function render() on null in
-
I get the following error when I try to go into the settings:
Fatal error: Uncaught Error: Call to a member function render() on null in /wp-content/plugins/mediapress/admin/mpp-admin.php:1075 Stack trace: #0 /wp-includes/class-wp-hook.php(286): MPP_Admin_Settings_Helper->render(”) #1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /wp-admin/admin.php(224): do_action(‘mpp-gallery_pag…’) #4 {main} thrown in /wp-content/plugins/mediapress/admin/mpp-admin.php on line 1075
-
Hi,
My apologies for the inconvenience.
Can you please provide me following details:-1. PHP Version
2. WordPress version
3. Is it multisite?
4. Are you using BuddyPress?
5. Do you have any MediaPress related plugins(addons) active?Please let me know and I will be able to assist.
Thank you
Brajesh1. PHP Version
7.1.4
2. WordPress version
4.9.4
3. Is it multisite?
yes
4. Are you using BuddyPress?
yes
5. Do you have any MediaPress related plugins(addons) active?
I have just the base MediaPress plugin, no addons.
Thank you for the details. I sincerely appreciate it.
Please let me know these two more things:-
1. Is MediaPress network active?
2. Is BuddyPress network active? Is multiblog mode enabled?Thank you
BrajeshNeither one is network activated.
Thank you.
I am looking at it now. Please allow me 24-48 hours to get back with details and solution.Regards
BrajeshHi aunrea,
Thank you for the patience.Please upgrade to 1.3.4 and let me know if it works or not? I have changed the path for autoloader and hoping that this should fix it.
Thank you
BrajeshI have updated the plug-in but I still get the same error.
Hi aunrea,
Thank you for the reply. I am not sure of the issue now.Can you please visit Dashboard->MediaPress->Tools and post me the info here.
Thank you
Brajesh// Generated by the MediaPress Debug tool //
Multisite: Yes
SITE_URL: http://campaign.candaceduffyjones.com
HOME_URL: http://campaign.candaceduffyjones.comWordPress Version: 4.9.4
Permalink Structure: /%postname%/Active Theme: Campaign (Twenty Seventeen Child) 1.1
Parent Theme: Campaign (Twenty Seventeen Child) 1.1Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, closed, spam, orphan, hidden
// Browser Details //
Browser Name: Chrome
Browser Version: 64.0.3282.186
Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Platform: Windows
// End Browser Section //PHP Version: 7.1.4
PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,zlib,bcmath,bz2,calendar,ctype,curl,dom,hash,fileinfo,filter,ftp,gd,gettext,gmp,SPL,iconv,session,intl,json,mbstring,mcrypt,mysqli,odbc,standard,PDO,pdo_mysql,pdo_sqlite,Phar,posix,pspell,Reflection,imap,SimpleXML,soap,sockets,exif,tidy,tokenizer,wddx,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,cgi-fcgi,SourceGuardian
GD enabled: Yes//GD Info
GD Version: bundled (2.1.0 compatible)
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:
XBM Support: 1
WebP Support:
JIS-mapped Japanese Font Support:
// End GD InfoMySQL Version: 5.5.51-38.2
Web Server Info: ApacheWordPress Memory Limit: 64M
PHP Safe Mode: No
PHP Memory Limit: 256M
PHP Upload Max Size: 64M
PHP Post Max Size: 64M
PHP Upload Max Filesize: 64M
PHP Time Limit: 30
PHP Max Input Vars: 1000
PHP Arg Separator: &
PHP Allow URL File Open: Yes
WP_DEBUG: Disabled
SCRIPT_DEBUG: Disabled// Table Prefix //
Table Base Prefix: wp_
Table Prefix: wp_24_Show On Front: posts
Page On Front: (#0)
Page For Posts: (#0)Session: Disabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
Use Cookies: On
Use Only Cookies: OnDISPLAY 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:
Advanced Custom Fields: 4.4.12
Akismet Anti-Spam: 4.0.3
bbPress: 2.5.14
Breadcrumb NavXT: 6.0.4
Broken Link Checker: 1.11.5
BuddyPress: 2.9.3
Download Attachments: 1.2.22
Event Organiser: 3.6.3
Event Organiser ICAL Sync: 2.3.0
Leaflet Map: 2.10.1
MediaPress: 1.3.4
Members: 2.0.2
myCRED: 1.7.9.3
New RoyalSlider: 3.3.5
Page-list: 5.1
Simple Link Directory – Lite: 3.6.0NETWORK ACTIVE PLUGINS:
Admin Menu Editor: 1.8.2
Better Recent Comments: 1.0.5
Custom Bulk/Quick Edit: 1.6.7
Duplicate Post: 3.2.1
Jetpack by WordPress.com: 5.9
Multisite Enhancements: 1.4.2
Multisite Robots.txt Manager | MS Robots.txt: 1.0.12
Multisite Site Index: 1.1
Nofollow for external link: 1.2.2
Ozh’ Admin Drop Down Menu: 3.6.10
PHP Compatibility Checker: 1.4.5
Posts in Sidebar: 4.5.1
UpdraftPlus – Backup/Restore: 1.14.4
WordPress MU Domain Mapping: 0.5.5.1
WP-Optimize: 2.2.2
WP Smush: 2.7.8// MediaPress Settings //
active_components: sitewide,members
default_status: loggedin
active_statuses: private,loggedin
active_types: photo,video,audio,doc
extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
size_thumbnail: 200,200,1
size_mid: 500,500,1
size_large: 1024,1024
single_media_size: large
lightbox_media_size: large
mpp_upload_space: 1024
mpp_upload_space_groups: 10240
show_upload_quota: 1
show_max_upload_file_size: 1
default_storage: local
enable_debug: 0
enable_gallery_archive: 1
gallery_archive_slug: files
gallery_permalink_slug: file
sitewide_active_types: photo,video,audio,doc
sitewide_photo_gallery_default_view: default
sitewide_video_gallery_default_view: default
sitewide_audio_gallery_default_view: default
sitewide_doc_gallery_default_view: list
has_gallery_directory: 1
activity_upload: 1
autopublish_activities: create_gallery,add_media
activity_photo_default_view: default
activity_video_default_view: default
activity_audio_default_view: default
activity_doc_default_view: list
show_orphaned_media: 0
delete_orphaned_media: 0
activity_media_display_limit: 6
members_active_types: photo,video,audio,doc
members_enable_type_filters: 1
members_photo_gallery_default_view: default
members_video_gallery_default_view: default
members_audio_gallery_default_view: default
members_doc_gallery_default_view: list
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
enable_activity_lightbox: 1
enable_gallery_lightbox: 1
enable_lightbox_in_gallery_media_list: 1// End of MediaPress Settings //
Thank you.
I have installed all plugins and then tested it.
The problem is “Ozh’ Admin Drop Down Menu” is rewriting the settings link with incorrect url.
instead of using yousite.com/wp-admin/edit.php?post_type=mpp-gallery&page=mpp-settings it uses yousite.com/wp-admin/admin.php?page=mpp-settings
If you want, you can try with the above last portion of the url “wp-admin/edit.php?post_type=mpp-gallery&page=mpp-settings” and it will work.
Regards
BrajeshThat is really odd. Thanks for the help.
You are welcome.
Yes, seemed odd to me too. But it was using the settings link incorrectly.
Marking it as resolved.Please feel free to reopen if you need further assistance.
Regards
Brajesh
The topic ‘Fatal error: Uncaught Error: Call to a member function render() on null in’ is closed to new replies.