Forum

Thread tagged as: Error, Blog

Error when posting to blog

I'm getting this error when trying to post a new blog article

Fatal error: Call to a member function return_instance() on a non-object in /home/nidoes/public_html/test/perch/core/lib/api/PerchAPI_Form.class.php on line 423

Any suggestions? The site is running on https://test.nidoearlyschool.com.au/ - perch and all apps are fully updated and the server is running php.5.4

Bruce Reynolds

Bruce Reynolds 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostic report?

Sorry for the late reply, Here's the extended report

Perch: 2.8.13 Production mode: Production (100) Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_blog (4.1), perch_forms (1.7) DB driver: PDO DB tables: perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users Users: 2 App runtimes: <?php $apps_list = array( 'content', 'perch_blog', 'perch_forms', ); Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Editor plug-ins: markitup, redactor H1: c2e385420f0ebae953fd4424b9995c64 L1: ae4142e8b83fb8da15fd59309c0b41ad headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 1 content_collapseList: 1 lang: en-gb update_2.5.4: done latest_version: 2.8.8 on_sale_version: 2.8.13 perch_blog_post_url: /news/post.php?s={postSlug} perch_blog_update: 4.0 headerScheme: light perch_blog_slug_format: %Y-%m-%d-{postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 0 dashboard: 0 hide_pwd_reset: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 perch_blog_comment_notify: 0 update_2.8.2: done update_2.8.6: done update_2.8.8: done update_2.8.13: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: nidoes_testusr PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: nidoes_test PERCH_DB_PREFIX: perch2_ PERCH_TZ: Australia/Perth PERCH_EMAIL_FROM: team@crushme.com.au PERCH_EMAIL_FROM_NAME: Patrick Hazard PERCH_LOGINPATH: /perch PERCH_PATH: /home/nidoes/public_html/test/perch PERCH_CORE: /home/nidoes/public_html/test/perch/core PERCH_RESFILEPATH: /home/nidoes/public_html/test/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/nidoes/public_html/test/perch/templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS

PHP: 5.4.45 Zend: 2.4.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $ MySQL server: 5.5.45-cll Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, filter, ftp, gd, SPL, iconv, session, json, ldap, mbstring, mcrypt, standard, mysql, mysqli, mysqlnd, Phar, posix, pspell, Reflection, imap, SimpleXML, snmp, soap, sockets, exif, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, XCache, PDO, pdo_sqlite, timezonedb, pdo_mysql, XCache Cacher, ionCube Loader GD: Yes ImageMagick: No PHP max upload size: 500M PHP max form post size: 150M PHP memory limit: 512M Total max uploadable file size: 150M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No CONTEXT_DOCUMENT_ROOT: /home/nidoes/public_html/test DOCUMENT_ROOT: /home/nidoes/public_html/test GATEWAY_INTERFACE: CGI/1.1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,it;q=0.6 HTTP_CONNECTION: keep-alive HTTP_COOKIE: cmsa=1; cmssb=0; _gat=1; _ga=GA1.3.635701935.1433749701; PHPSESSID=ee92761091c93fcfc9ffd8635ffddc11 HTTP_HOST: test.nidoearlyschool.com.au HTTP_REFERER: https://test.nidoearlyschool.com.au/perch/core/settings/diagnostics/ HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 PATH: /bin:/usr/bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 203.59.245.186 REMOTE_PORT: 65088 REQUEST_METHOD: GET REQUEST_SCHEME: http REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_FILENAME: /home/nidoes/public_html/test/perch/core/settings/diagnostics/index.php SCRIPT_NAME: /perch/core/settings/diagnostics/index.php SERVER_ADDR: 122.201.118.56 SERVER_ADMIN: webmaster@test.nidoearlyschool.com.au SERVER_NAME: test.nidoearlyschool.com.au SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Apache UNIQUE_ID: VhcQnnrJdjgAACf1OvEAAAAC PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1444352158.67 REQUEST_TIME: 1444352158 argc: 1

We actually have a live version at www.nidoearlyschool.com.au on the same server and the blog runs fine on that. It's also not running a fully updated perch install but still works.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You need to update to the current version of Blog.